geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r726041 - /geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/ConfigurationImpl.java
Date Fri, 12 Dec 2008 15:21:53 GMT
Author: jdillon
Date: Fri Dec 12 07:21:52 2008
New Revision: 726041

URL: http://svn.apache.org/viewvc?rev=726041&view=rev
Log:
Add const

Modified:
    geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/ConfigurationImpl.java

Modified: geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/ConfigurationImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/ConfigurationImpl.java?rev=726041&r1=726040&r2=726041&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/ConfigurationImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-bootstrap/src/main/java/org/apache/geronimo/gshell/bootstrap/ConfigurationImpl.java
Fri Dec 12 07:21:52 2008
@@ -36,6 +36,8 @@
 public class ConfigurationImpl
     implements Configuration
 {
+    private static final String DEFAULT_PROPERTIES = "default.properties";
+    
     private static final int SUCCESS_EXIT_CODE = 0;
 
     private static final int FAILURE_EXIT_CODE = 100;
@@ -66,7 +68,7 @@
     private Properties loadProperties() throws Exception {
         Properties props = new Properties();
 
-        URL defaults = getClass().getResource("default.properties");
+        URL defaults = getClass().getResource(DEFAULT_PROPERTIES);
         assert defaults != null;
 
         if (Log.DEBUG) {



Mime
View raw message