From: Olivier Lamy Date: Mon, 20 Oct 2014 06:08:01 +0000 (+1100) Subject: add missing @since, formatting, make fields private X-Git-Tag: archiva-2.2.0~65^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=69ebec88413acf908cd4291170be134843bcb462;p=archiva.git add missing @since, formatting, make fields private --- 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; } }