diff options
author | 2016-09-15 01:37:44 +0300 | |
---|---|---|
committer | 2016-09-15 01:37:44 +0300 | |
commit | f48b4f81a48745895e3e76c173ad8e63b71c55a1 (patch) | |
tree | f6b4f94663b5ab3abb17a7b1f20b8d1f82a19355 /juick-api/src/main/java/com/juick/api/Utils.java | |
parent | 368172843658b859b3187f5ba549ebbd919c634f (diff) |
juick-api: ugnich Utils -> commons-lang NumberUtils
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/Utils.java')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/Utils.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/juick-api/src/main/java/com/juick/api/Utils.java b/juick-api/src/main/java/com/juick/api/Utils.java index 0ce69e4b..c324a2df 100644 --- a/juick-api/src/main/java/com/juick/api/Utils.java +++ b/juick-api/src/main/java/com/juick/api/Utils.java @@ -54,17 +54,6 @@ public class Utils { } return 0; } - - public static int parseInt(String str, int def) { - int ret = def; - if (str != null) { - try { - ret = Integer.parseInt(str); - } catch (Exception e) { - } - } - return ret; - } public static String getPartFilename(Part part) { for (String cd : part.getHeader("content-disposition").split(";")) { if (cd.trim().startsWith("filename")) { |