commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jua...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff Diff.java
Date Sat, 28 Sep 2002 01:01:14 GMT
juanco      2002/09/27 18:01:13

  Modified:    jrcs/src/java/org/apache/commons/jrcs/diff Diff.java
  Log:
  removed reundant code
  
  Revision  Changes    Path
  1.2       +3 -10     jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/Diff.java
  
  Index: Diff.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/Diff.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Diff.java	28 May 2002 16:45:44 -0000	1.1
  +++ Diff.java	28 Sep 2002 01:01:13 -0000	1.2
  @@ -201,16 +201,9 @@
               {/* void */
               }
           }
  -        try
  +        if (!compare(deltas.patch(orig), rev))
           {
  -            if (!compare(deltas.patch(orig), rev))
  -            {
  -                throw new DifferentiationFailedException();
  -            }
  -        }
  -        catch (DiffException e)
  -        {
  -            throw new DifferentiationFailedException(e.getMessage());
  +            throw new DifferentiationFailedException();
           }
           return deltas;
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message