You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/apache/commons/cli/TypeHandler.java
+18-21Lines changed: 18 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -28,23 +28,22 @@ Licensed to the Apache Software Foundation (ASF) under one or more
28
28
importjava.util.Map;
29
29
30
30
/**
31
-
* TypeHandler will handle the pluggable conversion and verification of
32
-
* Option types. It handles the mapping of classes to bot converters and verifiers.
33
-
* It provides the default conversion and verification methods when converters and verifiers
34
-
* are not explicitly set.
31
+
* TypeHandler will handle the pluggable conversion and verification of Option types. It handles the mapping of classes to bot converters and verifiers. It
32
+
* provides the default conversion and verification methods when converters and verifiers are not explicitly set.
35
33
* <p>
36
-
* If Options are serialized and deserialized their converters and verifiers will revert to the
37
-
* defaults defined in this class. To correctly de-serialize Options with custom converters and/or
38
-
* verifiers, using the default serialization methods, this class should be properly configured with the custom
39
-
* converters and verifiers for the specific class.
34
+
* If Options are serialized and deserialized their converters and verifiers will revert to the defaults defined in this class. To correctly de-serialize
35
+
* Options with custom converters and/or verifiers, using the default serialization methods, this class should be properly configured with the custom converters
* Registers a Converter for a Class. If @code converter} is null registration is cleared for {@code clazz}, and
236
-
* no converter will be used in processing.
233
+
* Registers a Converter for a Class. If @code converter} is null registration is cleared for {@code clazz}, and no converter will be used in processing.
237
234
*
238
-
* @param clazz the Class to register the Converter and Verifier to.
239
-
* @param converter The Converter to associate with Class. May be null.
235
+
* @param clazz the Class to register the Converter and Verifier to.
236
+
* @param converter The Converter to associate with Class. May be null.
0 commit comments