river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r764752 - /incubator/river/jtsk/trunk/src/com/sun/jini/tool/ClassDep.java
Date Tue, 14 Apr 2009 12:08:54 GMT
Author: jukka
Date: Tue Apr 14 12:08:54 2009
New Revision: 764752

URL: http://svn.apache.org/viewvc?rev=764752&view=rev
Log:
RIVER-302: ClassDep -newdirbehaviour option does not work

Fixed as suggested by Peter Firmstone.

Modified:
    incubator/river/jtsk/trunk/src/com/sun/jini/tool/ClassDep.java

Modified: incubator/river/jtsk/trunk/src/com/sun/jini/tool/ClassDep.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/com/sun/jini/tool/ClassDep.java?rev=764752&r1=764751&r2=764752&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/com/sun/jini/tool/ClassDep.java (original)
+++ incubator/river/jtsk/trunk/src/com/sun/jini/tool/ClassDep.java Tue Apr 14 12:08:54 2009
@@ -1385,7 +1385,7 @@
     public void setupOptions(String[] args) {
 	for (int i = 0; i < args.length ; i++ ) {
 	    String arg = args[i];
-	    if (args.equals("-newdirbehavior")) {
+	    if (arg.equals("-newdirbehavior")) {
 		newRootDirBehavior = true;
 	    }
 	    else if (arg.equals("-cp")) {



Mime
View raw message