juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfa...@apache.org
Subject svn commit: r755780 - /webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Install.java
Date Wed, 18 Mar 2009 23:24:36 GMT
Author: jfaath
Date: Wed Mar 18 23:24:36 2009
New Revision: 755780

URL: http://svn.apache.org/viewvc?rev=755780&view=rev
Log:
JUDDI-193: fixing path bug

Modified:
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Install.java

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Install.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Install.java?rev=755780&r1=755779&r2=755780&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Install.java
(original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Install.java
Wed Mar 18 23:24:36 2009
@@ -75,11 +75,11 @@
 	
 	public static void install(String srcDir, String userPartition, boolean reloadConfig) throws
JAXBException, DispositionReportFaultMessage, IOException {
 		if (srcDir != null) {
-			if (srcDir.endsWith("\\") || srcDir.endsWith("/")) {
+			if (srcDir.endsWith(java.io.File.separator)) {
 				// Do nothing
 			}
 			else 
-				srcDir = srcDir + "\\";
+				srcDir = srcDir + java.io.File.separator;
 		}
 		else
 			srcDir = "";



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message