mirror of https://github.com/apache/archiva.git
add missing @since, formatting, make fields private
This commit is contained in:
parent
84c1a1ef0c
commit
69ebec8841
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue