You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by an...@apache.org on 2009/05/02 12:22:06 UTC
svn commit: r770922 -
/db/jdo/trunk/api2/src/java/javax/jdo/spi/I18NHelper.java
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);
}