jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380459 - /jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java
Date Tue, 04 Sep 2012 06:37:53 GMT
Author: pmouawad
Date: Tue Sep  4 06:37:53 2012
New Revision: 1380459

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

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java?rev=1380459&r1=1380458&r2=1380459&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java Tue Sep  4 06:37:53 2012
@@ -535,6 +535,7 @@ public class JMeterUtils implements Unit
     public static String getLocaleString(String locale){
         // All keys in messages.properties are lowercase (historical reasons?)
         String resKey = locale.toLowerCase(java.util.Locale.ENGLISH);
+        // TODO When migrating to JAVA 6, use resources#containsKey instead of try/catch
         try {
             return resources.getString(resKey);
         } catch (MissingResourceException e) {



Mime
View raw message