db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r770922 - /db/jdo/trunk/api2/src/java/javax/jdo/spi/I18NHelper.java
Date Sat, 02 May 2009 10:22:06 GMT
Author: andyj
Date: Sat May  2 10:22:05 2009
New Revision: 770922

URL: http://svn.apache.org/viewvc?rev=770922&view=rev
Log:
Remove "bundleName" since not serving any purpose (never read, and only used in constructor
to create bundle). 1 more compiler warning less

Modified:
    db/jdo/trunk/api2/src/java/javax/jdo/spi/I18NHelper.java

Modified: db/jdo/trunk/api2/src/java/javax/jdo/spi/I18NHelper.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/spi/I18NHelper.java?rev=770922&r1=770921&r2=770922&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/spi/I18NHelper.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/spi/I18NHelper.java Sat May  2 10:22:05 2009
@@ -61,10 +61,6 @@
      */
     private static Locale       locale = Locale.getDefault();
 
-    /** The name of the bundle used by this instance of the helper.
-     */
-    private final String        bundleName;
-
     /** The bundle used by this instance of the helper.
      */
     private ResourceBundle      bundle = null;
@@ -78,7 +74,6 @@
 
     /** Constructor */
     private I18NHelper() {
-        this.bundleName = null;
     }
 
     /** Constructor for an instance bound to a bundle.
@@ -87,7 +82,6 @@
      * bundle
      */
     private I18NHelper (String bundleName, ClassLoader loader) {
-        this.bundleName = bundleName;
         try {
             bundle = loadBundle (bundleName, loader);
         }



Mime
View raw message