From 69ebec88413acf908cd4291170be134843bcb462 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 20 Oct 2014 17:08:01 +1100 Subject: [PATCH] add missing @since, formatting, make fields private --- .../archiva/proxy/model/ProxyFetchResult.java | 17 +++++++++++------ 1 file 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; } }