Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: MODIFIED: util ...

eyebrowse
Discussion topic

Back to topic list

CVS update: MODIFIED: util ...

Reply

Author dlr
Full name Daniel Rall
Date 2002-05-03 14:35:38 PDT
Message User: dlr
  Date: 02/05/03 14:35:38

  Modified: src/java/org/tigris/​eyebrowse/util LocalizationTool.java
  Log:
  Added catch of possible MissingResourceException in get(String).
  
  Revision Changes Path
  1.14 +8 -1 eyebrowse/src/java/o​rg/tigris/eyebrowse/​util/LocalizationToo​l.java
  
  http://eyebrowse.tig​ris.org/source/brows​e/eyebrowse/src/java​/org/tigris/eyebrows​e/util/LocalizationT​ool.java.diff?r1=1.1​3&r2=1.14
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalizationTool.java
  ====================​====================​====================​=======
  RCS file: /usr/local/tigris/da​ta/helm/cvs/reposito​ry/eyebrowse/src/jav​a/org/tigris/eyebrow​se/util/Localization​Tool.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- LocalizationTool.java 2002/05/02 17:13:42 1.13
  +++ LocalizationTool.java 2002/05/03 21:35:38 1.14
  @@ -147,7 +147,14 @@
        */
       public String get(String key)
       {
  + try
  + {
           return (prefix != null ? bundle.getString(prefix + key) : null);
  + }
  + catch (MissingResourceException e)
  + {
  + return null;
  + }
       }
   
       /**
  
  
  

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@eyeb​rowse.tigris.org
For additional commands, e-mail: cvs-help at eyebrowse dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: MODIFIED: util ... dlr Daniel Rall 2002-05-03 14:35:38 PDT
Messages per page: