File tree Expand file tree Collapse file tree
main/java/org/apache/commons/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 <!-- Checks for whitespace -->
7474 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
7575 <module name =" EmptyForIteratorPad" />
76- <module name =" NoWhitespaceAfter" />
7776 <module name =" NoWhitespaceBefore" />
7877 <module name =" ParenPad" />
7978
Original file line number Diff line number Diff line change @@ -42,16 +42,18 @@ public interface Converter<T, E extends Throwable> {
4242 Converter <?, RuntimeException > DEFAULT = s -> s ;
4343
4444 /**
45- * Class name converter. Calls {@code Class. forName}.
45+ * Class name converter. Calls {@link Class# forName(String) }.
4646 */
4747 Converter <Class <?>, ClassNotFoundException > CLASS = Class ::forName ;
4848
4949 /**
50- * File name converter. Calls @{code new File(s )}.
50+ * File name converter. Calls {@link File#File(String )}.
5151 */
5252 Converter <File , NullPointerException > FILE = File ::new ;
5353
54- /** Path converter. Calls @{code new Path(s)} */
54+ /**
55+ * Path converter. Calls {@code new File(s).toPath()}.
56+ */
5557 Converter <Path , InvalidPathException > PATH = s -> new File (s ).toPath ();
5658
5759 /**
@@ -72,8 +74,8 @@ public interface Converter<T, E extends Throwable> {
7274 */
7375 Converter <Object , ReflectiveOperationException > OBJECT = s -> CLASS .apply (s ).getConstructor ().newInstance ();
7476
75- /**
76- * Creates a URL. Calls {@code new URL(s )}.
77+ /**
78+ * Creates a URL. Calls {@link URL#URL(String )}.
7779 */
7880 Converter <URL , MalformedURLException > URL = java .net .URL ::new ;
7981
You can’t perform that action at this time.
0 commit comments