incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james-mas...@apache.org
Subject svn commit: r1400363 - in /incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison: Compare.java ConvertAndCompare.java
Date Sat, 20 Oct 2012 04:17:13 GMT
Author: james-masanz
Date: Sat Oct 20 04:17:12 2012
New Revision: 1400363

URL: http://svn.apache.org/viewvc?rev=1400363&view=rev
Log:
CTAKES-86
ConvertandCompare.java and Compare.java have bug in an error message

Modified:
    incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/Compare.java
    incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/ConvertAndCompare.java

Modified: incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/Compare.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/Compare.java?rev=1400363&r1=1400362&r2=1400363&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/Compare.java
(original)
+++ incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/Compare.java
Sat Oct 20 04:17:12 2012
@@ -35,7 +35,7 @@ public class Compare {
 		File f1 = new File(args[0]);
 		if (!f1.exists()) { System.err.println(args[0]+" not exist!"); System.exit(1); }
 		File f2 = new File(args[1]);
-		if (!f2.exists()) { System.err.println(args[2]+" not exist!"); System.exit(1); }
+		if (!f2.exists()) { System.err.println(args[1]+" not exist!"); System.exit(1); }
 		XcasFile xf1 = p.process(f1);
 		XcasFile xf2 = p.process(f2);
 //		Construct an XcasDiff object from the two XcasFiles

Modified: incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/ConvertAndCompare.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/ConvertAndCompare.java?rev=1400363&r1=1400362&r2=1400363&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/ConvertAndCompare.java
(original)
+++ incubator/ctakes/trunk/ctakes-utils/src/main/java/org/apache/ctakes/utils/xcas_comparison/ConvertAndCompare.java
Sat Oct 20 04:17:12 2012
@@ -104,7 +104,7 @@ public class ConvertAndCompare {
 		File f1 = new File(args[0]);
 		if (!f1.exists()) { System.err.println(args[0]+" not exist!"); System.exit(1); }
 		File f2 = new File(args[1]);
-		if (!f2.exists()) { System.err.println(args[2]+" not exist!"); System.exit(1); }
+		if (!f2.exists()) { System.err.println(args[1]+" not exist!"); System.exit(1); }
 		XcasFile xf1 = p.process(f1);
 		XcasFile xf2 = p.process(f2);
 //		Change xf1 to xf2 if the second command line argument is the open source output



Mime
View raw message