commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/message MessageResources.java
Date Fri, 03 May 2002 16:58:04 GMT
dlr         02/05/03 09:58:04

  Modified:    resources/src/java/org/apache/commons/resources/message
                        MessageResources.java
  Log:
  Replaced single character String objects (used in concatentating key
  prefix and name) with the equivalent char.
  
  Revision  Changes    Path
  1.6       +6 -6      jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/message/MessageResources.java
  
  Index: MessageResources.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/message/MessageResources.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- MessageResources.java	3 May 2002 16:53:51 -0000	1.5
  +++ MessageResources.java	3 May 2002 16:58:04 -0000	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/message/MessageResources.java,v
1.5 2002/05/03 16:53:51 dlr Exp $
  - * $Revision: 1.5 $
  - * $Date: 2002/05/03 16:53:51 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/message/MessageResources.java,v
1.6 2002/05/03 16:58:04 dlr Exp $
  + * $Revision: 1.6 $
  + * $Date: 2002/05/03 16:58:04 $
    *
    * ====================================================================
    *
  @@ -91,7 +91,7 @@
    * application server environments.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.5 $ $Date: 2002/05/03 16:53:51 $
  + * @version $Revision: 1.6 $ $Date: 2002/05/03 16:58:04 $
    */
   
   public abstract class MessageResources extends ResourcesBase {
  @@ -491,7 +491,7 @@
        */
       protected String messageKey(Locale locale, String key) {
   
  -        return (localeKey(locale) + "." + key);
  +        return (localeKey(locale) + '.' + key);
   
       }
   
  @@ -505,7 +505,7 @@
        */
       protected String messageKey(String localeKey, String key) {
   
  -        return (localeKey + "." + key);
  +        return (localeKey + '.' + key);
   
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message