directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r574813 - /directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Date Wed, 12 Sep 2007 07:16:58 GMT
Author: elecharny
Date: Wed Sep 12 00:16:57 2007
New Revision: 574813

URL: http://svn.apache.org/viewvc?rev=574813&view=rev
Log:
Switched from toURL() to toURI().toURL() as a direct toURL() is deprecated.

Modified:
    directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java

Modified: directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
URL: http://svn.apache.org/viewvc/directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java?rev=574813&r1=574812&r2=574813&view=diff
==============================================================================
--- directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
(original)
+++ directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Wed Sep 12 00:16:57 2007
@@ -74,7 +74,7 @@
         {
             log.info( "server: loading settings from ", args[0] );
             ApplicationContext factory = null;
-            factory = new FileSystemXmlApplicationContext( new File( args[0] ).toURL().toString()
);
+            factory = new FileSystemXmlApplicationContext( new File( args[0] ).toURI().toURL().toString()
);
             cfg = ( MutableServerStartupConfiguration ) factory.getBean( "configuration"
);
             env = ( Properties ) factory.getBean( "environment" );
         }



Mime
View raw message