Skip to content

Commit 976f6ae

Browse files
committed
Applying patch from James Ring, fixing a javadoc warning. See issue 37974
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@374121 13f79535-47bb-0310-9956-ffa450edef68
1 parent a6d9b64 commit 976f6ae

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/java/org/apache/commons/cli2/resource/ResourceHelper.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ public class ResourceHelper {
4141
private String prop;
4242

4343
/**
44-
* Create a new ResourceHelper for the specified class.
45-
*
46-
* @param clazz the Class that requires some resources
44+
* Create a new ResourceHelper for the current locale.
4745
*/
4846
private ResourceHelper() {
4947
String bundleName = System.getProperty(PROP_LOCALE);
@@ -79,8 +77,7 @@ public String getBundleName() {
7977
}
8078

8179
/**
82-
* Gets the ResourceHelper appropriate to the specified class.
83-
* @param clazz the class to get resources for
80+
* Gets the ResourceHelper appropriate to the current locale.
8481
* @return a ResourceHelper
8582
*/
8683
public static ResourceHelper getResourceHelper() {

0 commit comments

Comments
 (0)