axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r398933 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java
Date Tue, 02 May 2006 12:47:13 GMT
Author: deepal
Date: Tue May  2 05:46:34 2006
New Revision: 398933

URL: http://svn.apache.org/viewcvs?rev=398933&view=rev
Log:
- fixing small issue in FileSystemConfigurator

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java?rev=398933&r1=398932&r2=398933&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java
Tue May  2 05:46:34 2006
@@ -75,19 +75,13 @@
         if (axis2xml == null) {
             // If not, check for a system property setting
             axis2xml = System.getProperty(Constants.AXIS2_CONF);
-
-            // If system property not set, use default filename
-            if (axis2xml == null) {
-                axis2xml = Constants.AXIS2_CONF;
-            }
-
             // In either case, check that the file exists... if not
             // we'll use the default axis2.xml on the classpath.
             try {
                 File configFile = new File(axis2xml);
                 if (!configFile.exists()) {
                     axis2xml = null;
-                }
+                } 
             } catch (Exception e) {
                 axis2xml = null;
                 log.info("Error in file (axis2.xml) creation inside FileSystemConfigurator");



Mime
View raw message