tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r671459 - /tomcat/connectors/trunk/jni/java/org/apache/tomcat/jni/Library.java
Date Wed, 25 Jun 2008 08:14:44 GMT
Author: jfclere
Date: Wed Jun 25 01:14:44 2008
New Revision: 671459

URL: http://svn.apache.org/viewvc?rev=671459&view=rev
Log:
Simplify the code. Thanks Tim.

Modified:
    tomcat/connectors/trunk/jni/java/org/apache/tomcat/jni/Library.java

Modified: tomcat/connectors/trunk/jni/java/org/apache/tomcat/jni/Library.java
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/java/org/apache/tomcat/jni/Library.java?rev=671459&r1=671458&r2=671459&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/java/org/apache/tomcat/jni/Library.java (original)
+++ tomcat/connectors/trunk/jni/java/org/apache/tomcat/jni/Library.java Wed Jun 25 01:14:44
2008
@@ -48,7 +48,7 @@
                 String sep = System.getProperty("path.separator");
                 String [] paths = path.split(sep);
                 for (int j=0; j<paths.length; j++) {
-                    java.io.File fd = new java.io.File(paths[j] + System.getProperty("file.separator")
+ name);
+                    java.io.File fd = new java.io.File(paths[j] , name);
                     if (fd.exists()) {
                         e.printStackTrace();
                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message