package org.apache.archiva.proxy.model;

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

import java.io.File;

/**
 * A result from a proxy fetch operation.
 */
public class ProxyFetchResult
{

    //The file returned
    File file;

    //Was the local file modified by the fetch?
    boolean modified;

    public ProxyFetchResult( File file, boolean modified) {
        this.file = file;
        this.modified = modified;
    }    

    public File getFile() {
        return file;
    }

    public boolean isModified() {
        return modified;
    }
}

@@ -910,16 +910,35 @@
 ration.%0A
+ *%0A * @since 2.1.2%0A
  */%0Apubl
@@ -994,16 +994,24 @@
 ned%0A    
+private 
 File fil
@@ -1066,16 +1066,24 @@
 ch?%0A    
+private 
 boolean 
@@ -1149,17 +1149,22 @@
 modified
-)
+ )%0A   
  %7B%0A     
@@ -1223,20 +1223,16 @@
 d;%0A    %7D
-    
 %0A%0A    pu
@@ -1250,16 +1250,20 @@
 etFile()
+%0A   
  %7B%0A     
@@ -1316,16 +1316,20 @@
 dified()
+%0A   
  %7B%0A     

add missing @since, formatting, make fields private