You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ju...@apache.org on 2002/09/28 03:01:14 UTC
cvs commit: jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff Diff.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>