/**
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 * <p/>
 * This is free software;you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation;either version2.1of
 * the License,or(at your option)any later version.
 * <p/>
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY;without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU
 * Lesser General Public License for more details.
 * <p/>
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software;if not,write to the Free
 * Software Foundation,Inc.,51 Franklin St,Fifth Floor,Boston,MA
 * 02110-1301 USA,or see the FSF site:http://www.fsf.org.
 *
 */

package com.xpn.xwiki.doc;

public class AttachmentDiff {
    private String fileName;
    private String origVersion;
    private String newVersion;

    public AttachmentDiff(String fileName, String origVersion, String newVersion) {
        setFileName(fileName);
        setOrigVersion(origVersion);
        setNewVersion(newVersion);
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getOrigVersion() {
        return origVersion;
    }

    public void setOrigVersion(String origVersion) {
        this.origVersion = origVersion;
    }

    public String getNewVersion() {
        return newVersion;
    }

    public void setNewVersion(String newVersion) {
        this.newVersion = newVersion;
    }
}

@@ -1,11 +1,10 @@
 /*
-*
 %0D%0A * See
@@ -108,29 +108,24 @@
 nership.%0D%0A *
- %3Cp/%3E
 %0D%0A * This is
@@ -139,16 +139,17 @@
 oftware;
+ 
 you can 
@@ -291,16 +291,17 @@
 ndation;
+ 
 either v
@@ -310,11 +310,13 @@
 sion
+ 
 2.1
+ 
 of%0D%0A
@@ -330,18 +330,20 @@
 License,
+ 
 or
+ 
 (at your
@@ -350,16 +350,17 @@
  option)
+ 
 any late
@@ -369,29 +369,24 @@
 version.%0D%0A *
- %3Cp/%3E
 %0D%0A * This so
@@ -472,16 +472,17 @@
 ARRANTY;
+ 
 without 
@@ -566,16 +566,17 @@
 PURPOSE.
+ 
 See the 
@@ -638,13 +638,8 @@
 %0D%0A *
- %3Cp/%3E
 %0D%0A *
@@ -745,15 +745,17 @@
 are;
+ 
 if not,
+ 
 writ
@@ -796,13 +796,15 @@
 ion,
+ 
 Inc.,
+ 
 51 F
@@ -814,16 +814,17 @@
 klin St,
+ 
 Fifth Fl
@@ -831,15 +831,17 @@
 oor,
+ 
 Boston,
+ 
 MA%0D%0A
@@ -858,16 +858,17 @@
 301 USA,
+ 
 or see t
@@ -879,16 +879,17 @@
 SF site:
+ 
 http://w
@@ -905,19 +905,13 @@
 g.%0D%0A
- *%0D%0A
  */%0D%0A
-%0D%0A
 pack
@@ -963,17 +963,18 @@
 mentDiff
- 
+%0D%0A
 %7B%0D%0A    p
@@ -994,24 +994,26 @@
  fileName;%0D%0A
+%0D%0A
     private 
@@ -1029,24 +1029,26 @@
 igVersion;%0D%0A
+%0D%0A
     private 
@@ -1142,32 +1142,37 @@
 ring newVersion)
+%0D%0A   
  %7B%0D%0A        setF
@@ -1305,16 +1305,21 @@
 leName()
+%0D%0A   
  %7B%0D%0A    
@@ -1393,16 +1393,21 @@
 ileName)
+%0D%0A   
  %7B%0D%0A    
@@ -1472,32 +1472,37 @@
 getOrigVersion()
+%0D%0A   
  %7B%0D%0A        retu
@@ -1569,32 +1569,37 @@
 ing origVersion)
+%0D%0A   
  %7B%0D%0A        this
@@ -1669,16 +1669,21 @@
 ersion()
+%0D%0A   
  %7B%0D%0A    
@@ -1763,16 +1763,21 @@
 Version)
+%0D%0A   
  %7B%0D%0A    

Reformatted code