diff options
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")) { |