gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1558596 - /gora/branches/GORA_94/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
Date Wed, 15 Jan 2014 22:58:52 GMT
Author: lewismc
Date: Wed Jan 15 22:58:52 2014
New Revision: 1558596

URL: http://svn.apache.org/r1558596
Log:
GORA-283 avoid NPE

Modified:
    gora/branches/GORA_94/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java

Modified: gora/branches/GORA_94/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
URL: http://svn.apache.org/viewvc/gora/branches/GORA_94/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java?rev=1558596&r1=1558595&r2=1558596&view=diff
==============================================================================
--- gora/branches/GORA_94/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
(original)
+++ gora/branches/GORA_94/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
Wed Jan 15 22:58:52 2014
@@ -486,12 +486,11 @@ public class CassandraStore<K, T extends
           // adding union value
           this.cassandraClient.addColumn(key, field.name(), value);
         } else {
-          LOG.warn("Union with value: " + value.toString() + " at index: " + getUnionSchema(value,
schema) + " not supported for field: " + field.name());
+          LOG.warn("Union with 'null' value not supported for field: " + field.name());
         }
         break;
       default:
-        LOG.warn("Type: " + type.name() + " with value: " + value.toString() + 
-            " not considered for field: " + field.name() + ". Please report this to dev@gora.apache.org");
+        LOG.warn("Type: " + type.name() + " not considered for field: " + field.name() +
". Please report this to dev@gora.apache.org");
       }
     }
   }



Mime
View raw message