You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by James Ring <sj...@jdns.org> on 2005/12/19 14:00:02 UTC

[cli][patch 2/2] Some minor fixes

This patch fixes a couple of small inconsistencies in the ResourceHelper
Javadoc. There are no functional changes.

Index: cli/src/java/org/apache/commons/cli2/resource/ResourceHelper.java
===================================================================
--- cli.orig/src/java/org/apache/commons/cli2/resource/ResourceHelper.java	2005-12-20 18:47:42.000000000 +1100
+++ cli/src/java/org/apache/commons/cli2/resource/ResourceHelper.java	2005-12-20 18:54:59.000000000 +1100
@@ -41,9 +41,7 @@
     private String prop;
     
     /**
-     * Create a new ResourceHelper for the specified class.
-     *
-     * @param clazz the Class that requires some resources
+     * Create a new ResourceHelper for the current locale.
      */
     private ResourceHelper() {
         String bundleName = System.getProperty(PROP_LOCALE);
@@ -79,8 +77,7 @@
     }
     
     /**
-     * Gets the ResourceHelper appropriate to the specified class.
-     * @param clazz the class to get resources for
+     * Gets the ResourceHelper appropriate to the current locale.
      * @return a ResourceHelper
      */
     public static ResourceHelper getResourceHelper() {

--


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