You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/09/12 09:16:58 UTC

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

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" );
         }