cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [15/30] git commit: updated refs/heads/master to 64ff67d
Date Fri, 14 Aug 2015 19:47:38 GMT
CLOUDSTACK-8656: message about invalid number from store

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4213a221
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4213a221
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4213a221

Branch: refs/heads/master
Commit: 4213a221276a8a6e8719f5caa51e1012daa86fd9
Parents: 3229d96
Author: Daan Hoogland <daan@onecht.net>
Authored: Fri Aug 14 13:21:46 2015 +0200
Committer: Daan Hoogland <daan@onecht.net>
Committed: Fri Aug 14 13:21:46 2015 +0200

----------------------------------------------------------------------
 utils/src/com/cloud/utils/storage/encoding/Decoder.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4213a221/utils/src/com/cloud/utils/storage/encoding/Decoder.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/storage/encoding/Decoder.java b/utils/src/com/cloud/utils/storage/encoding/Decoder.java
index 1fe2ed9..c7c61d3 100644
--- a/utils/src/com/cloud/utils/storage/encoding/Decoder.java
+++ b/utils/src/com/cloud/utils/storage/encoding/Decoder.java
@@ -26,7 +26,11 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
+import org.apache.log4j.Logger;
+
 public class Decoder {
+    private static final Logger s_logger = Logger.getLogger(Decoder.class);
+
     private static Map<String, String> getParameters(URI uri) {
         String parameters = uri.getQuery();
         Map<String, String> params = new HashMap<String, String>();
@@ -52,7 +56,7 @@ public class Decoder {
         try {
             size = Long.parseLong(params.get(EncodingType.SIZE.toString()));
         } catch (NumberFormatException e) {
-
+            s_logger.info("[ignored] number not recognised",e);
         }
         DecodedDataObject obj =
             new DecodedDataObject(params.get(EncodingType.OBJTYPE.toString()), size, params.get(EncodingType.NAME.toString()),
params.get(EncodingType.PATH.toString()),


Mime
View raw message