gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1558595 - /gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
Date Wed, 15 Jan 2014 22:56:59 GMT
Author: lewismc
Date: Wed Jan 15 22:56:59 2014
New Revision: 1558595

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

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

Modified: gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java?rev=1558595&r1=1558594&r2=1558595&view=diff
==============================================================================
--- gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
(original)
+++ gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
Wed Jan 15 22:56:59 2014
@@ -435,11 +435,10 @@ public class CassandraStore<K, T extends
         LOG.debug("Union with value: " + value.toString() + " at index: " + getUnionSchema(value,
schema) + " supported for field: " + field.name());
         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());
       }
     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