Skip to content

Commit 6010135

Browse files
committed
Better parameter name
1 parent b4d4c8b commit 6010135

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/org/apache/commons/cli/TypeHandler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ public class TypeHandler {
3232
/**
3333
* Returns the class whose name is {@code classname}.
3434
*
35-
* @param classname the class name
35+
* @param className the class name
3636
* @return The class if it is found
3737
* @throws ParseException if the class could not be found
3838
*/
39-
public static Class<?> createClass(final String classname) throws ParseException {
39+
public static Class<?> createClass(final String className) throws ParseException {
4040
try {
41-
return Class.forName(classname);
41+
return Class.forName(className);
4242
} catch (final ClassNotFoundException e) {
43-
throw new ParseException("Unable to find the class: " + classname);
43+
throw new ParseException("Unable to find the class: " + className);
4444
}
4545
}
4646

0 commit comments

Comments
 (0)