@@ -68,9 +68,7 @@ public static void clear() {
6868 * @param className the class name
6969 * @return The class if it is found
7070 * @throws ParseException if the class could not be found
71- * @deprecated use {@link #createValue(String, Class)}
7271 */
73- @ Deprecated // since 1.7.0
7472 public static Class <?> createClass (final String className ) throws ParseException {
7573 return createValue (className , Class .class );
7674 }
@@ -83,9 +81,7 @@ public static Class<?> createClass(final String className) throws ParseException
8381 *
8482 * @param string the date string
8583 * @return The date if {@code string} is a valid date string, otherwise return null.
86- * @deprecated use {@link #createValue(String, Class)}
8784 */
88- @ Deprecated // since 1.7.0
8985 public static Date createDate (final String string ) {
9086 return createValueUnchecked (string , Date .class );
9187 }
@@ -95,9 +91,7 @@ public static Date createDate(final String string) {
9591 *
9692 * @param string the File location
9793 * @return The file represented by {@code string}.
98- * @deprecated use {@link #createValue(String, Class)}
9994 */
100- @ Deprecated // since 1.7.0
10195 public static File createFile (final String string ) {
10296 return createValueUnchecked (string , File .class );
10397 }
@@ -152,9 +146,7 @@ public static Object createObject(final String className) throws ParseException
152146 * @param string the URL string
153147 * @return The URL in {@code string} is well-formed
154148 * @throws ParseException if the URL in {@code string} is not well-formed
155- * @deprecated use {@link #createValue(String, Class)}
156149 */
157- @ Deprecated // since 1.7.0
158150 public static URL createURL (final String string ) throws ParseException {
159151 return createValue (string , URL .class );
160152 }
0 commit comments