diff options
author | Hung-ying Tyan <tyanh@google.com> | 2011-09-06 14:45:28 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2011-09-06 15:38:39 +0800 |
commit | d76bb5eec866103fda69483481b6c85527f08892 (patch) | |
tree | 7979f5e90c707091c5b86808519cac0fcc7b4d4c /gallerycommon/src/com/android/gallery3d/common | |
parent | ace280a70fd1ead67039b9667d3905c85703c094 (diff) | |
download | android_packages_apps_Snap-d76bb5eec866103fda69483481b6c85527f08892.tar.gz android_packages_apps_Snap-d76bb5eec866103fda69483481b6c85527f08892.tar.bz2 android_packages_apps_Snap-d76bb5eec866103fda69483481b6c85527f08892.zip |
Suppress log from Utils.parseXXXSafely().
Callers already expect non-number strings with these calls. No need to print
out the stack trace.
Change-Id: I27226ca50e4e7e906939505ad5d53906e8999e95
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/Utils.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/Utils.java b/gallerycommon/src/com/android/gallery3d/common/Utils.java index efe2be213..78449ae6b 100644 --- a/gallerycommon/src/com/android/gallery3d/common/Utils.java +++ b/gallerycommon/src/com/android/gallery3d/common/Utils.java @@ -268,7 +268,6 @@ public class Utils { try { return Float.parseFloat(content); } catch (NumberFormatException e) { - Log.w(TAG, "invalid float: " + content, e); return defaultValue; } } @@ -278,7 +277,6 @@ public class Utils { try { return Integer.parseInt(content); } catch (NumberFormatException e) { - Log.w(TAG, "invalid int: " + content, e); return defaultValue; } } |