jkeyes      2004/01/22 16:17:35

  Modified:    cli/src/java/org/apache/commons/cli2/resources Tag:
                        RESEARCH_CLI_2_ROXSPRING ResourceHelper.java
  Added:       cli/src/java/org/apache/commons/cli2/validation Tag:
                        RESEARCH_CLI_2_ROXSPRING messages.properties
               cli/src/java/org/apache/commons/cli2/defaults/impl Tag:
                        RESEARCH_CLI_2_ROXSPRING messages.properties
               cli/src/java/org/apache/commons/cli2 Tag:
                        RESEARCH_CLI_2_ROXSPRING messages.properties
               cli/src/java/org/apache/commons/cli2/defaults Tag:
                        RESEARCH_CLI_2_ROXSPRING messages.properties
  Removed:     cli/src/java/org/apache/commons/cli2/validation Tag:
                        RESEARCH_CLI_2_ROXSPRING MessagesBundle.properties
               cli/src/java/org/apache/commons/cli2/defaults/impl Tag:
                        RESEARCH_CLI_2_ROXSPRING MessagesBundle.properties
               cli/src/java/org/apache/commons/cli2 Tag:
                        RESEARCH_CLI_2_ROXSPRING MessagesBundle.properties
               cli/src/java/org/apache/commons/cli2/defaults Tag:
                        RESEARCH_CLI_2_ROXSPRING MessagesBundle.properties
  Log:
  - changed name of resource bundles
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +4 -0      
jakarta-commons/cli/src/java/org/apache/commons/cli2/validation/Attic/messages.properties
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +2 -0      
jakarta-commons/cli/src/java/org/apache/commons/cli2/defaults/impl/Attic/messages.properties
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +9 -0      
jakarta-commons/cli/src/java/org/apache/commons/cli2/Attic/messages.properties
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +4 -0      
jakarta-commons/cli/src/java/org/apache/commons/cli2/defaults/Attic/messages.properties
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.3   +5 -2      
jakarta-commons/cli/src/java/org/apache/commons/cli2/resources/Attic/ResourceHelper.java
  
  Index: ResourceHelper.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/cli/src/java/org/apache/commons/cli2/resources/Attic/ResourceHelper.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- ResourceHelper.java       22 Jan 2004 22:40:52 -0000      1.1.2.2
  +++ ResourceHelper.java       23 Jan 2004 00:17:34 -0000      1.1.2.3
  @@ -66,9 +66,12 @@
    */
   public class ResourceHelper {
   
  -    /** resource bundle */
  +    // resource bundle
       private ResourceBundle bundle;
       
  +    // default bundle name
  +    private static final String DEFAULT_BUNDLE = "messages";
  +    
       /** cache */
       private static Map cache = new HashMap(13);
       
  @@ -97,7 +100,7 @@
               className.substring(0, className.lastIndexOf(".") + 1);
           
           final String bundleName = 
  -            packageName + "MessagesBundle";
  +            packageName + "messages";
               
           // initialize the bundle
           bundle = ResourceBundle.getBundle(bundleName);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to