Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 49402 invoked from network); 12 Dec 2008 15:22:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2008 15:22:14 -0000 Received: (qmail 36323 invoked by uid 500); 12 Dec 2008 15:22:26 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 36263 invoked by uid 500); 12 Dec 2008 15:22:26 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 36254 invoked by uid 99); 12 Dec 2008 15:22:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 07:22:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 15:22:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 31F8E23888CA; Fri, 12 Dec 2008 07:21:53 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081212152153.31F8E23888CA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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) {