diff options
author | Olivier Lamy <olamy@apache.org> | 2014-10-20 17:08:01 +1100 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-10-20 17:08:01 +1100 |
commit | 69ebec88413acf908cd4291170be134843bcb462 (patch) | |
tree | c849e64a0473845beeb03e7e8f816bd18ac32c69 /archiva-modules/archiva-base/archiva-proxy-api | |
parent | 84c1a1ef0ce4b9d05465e45a71c68a214f53d6e5 (diff) | |
download | archiva-69ebec88413acf908cd4291170be134843bcb462.tar.gz archiva-69ebec88413acf908cd4291170be134843bcb462.zip |
add missing @since, formatting, make fields private
Diffstat (limited to 'archiva-modules/archiva-base/archiva-proxy-api')
-rw-r--r-- | archiva-modules/archiva-base/archiva-proxy-api/src/main/java/org/apache/archiva/proxy/model/ProxyFetchResult.java | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/archiva-modules/archiva-base/archiva-proxy-api/src/main/java/org/apache/archiva/proxy/model/ProxyFetchResult.java b/archiva-modules/archiva-base/archiva-proxy-api/src/main/java/org/apache/archiva/proxy/model/ProxyFetchResult.java index 28c2af074..94df725bf 100644 --- a/archiva-modules/archiva-base/archiva-proxy-api/src/main/java/org/apache/archiva/proxy/model/ProxyFetchResult.java +++ b/archiva-modules/archiva-base/archiva-proxy-api/src/main/java/org/apache/archiva/proxy/model/ProxyFetchResult.java @@ -23,26 +23,31 @@ import java.io.File; /** * A result from a proxy fetch operation. + * + * @since 2.1.2 */ public class ProxyFetchResult { //The file returned - File file; + private File file; //Was the local file modified by the fetch? - boolean modified; + private boolean modified; - public ProxyFetchResult( File file, boolean modified) { + public ProxyFetchResult( File file, boolean modified ) + { this.file = file; this.modified = modified; - } + } - public File getFile() { + public File getFile() + { return file; } - public boolean isModified() { + public boolean isModified() + { return modified; } } |