polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [13/35] polygene-java git commit: POLYGENE-256 - Ooops... over-did it. Empty strings must be allowed in properties.
Date Sun, 28 May 2017 16:10:33 GMT
POLYGENE-256 - Ooops... over-did it. Empty strings must be allowed in properties.

Signed-off-by: niclas <niclas@hedhman.org>


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/37ada0d5
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/37ada0d5
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/37ada0d5

Branch: refs/heads/develop
Commit: 37ada0d570db6d43aab104fa3ef69e91f7e244f6
Parents: 5e925a5
Author: niclas <niclas@hedhman.org>
Authored: Tue May 23 09:25:44 2017 +0800
Committer: niclas <niclas@hedhman.org>
Committed: Tue May 23 09:25:44 2017 +0800

----------------------------------------------------------------------
 .../polygene/entitystore/cassandra/CassandraEntityStoreMixin.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/37ada0d5/extensions/entitystore-cassandra/src/main/java/org/apache/polygene/entitystore/cassandra/CassandraEntityStoreMixin.java
----------------------------------------------------------------------
diff --git a/extensions/entitystore-cassandra/src/main/java/org/apache/polygene/entitystore/cassandra/CassandraEntityStoreMixin.java
b/extensions/entitystore-cassandra/src/main/java/org/apache/polygene/entitystore/cassandra/CassandraEntityStoreMixin.java
index be0d226..fe078d5 100644
--- a/extensions/entitystore-cassandra/src/main/java/org/apache/polygene/entitystore/cassandra/CassandraEntityStoreMixin.java
+++ b/extensions/entitystore-cassandra/src/main/java/org/apache/polygene/entitystore/cassandra/CassandraEntityStoreMixin.java
@@ -171,7 +171,7 @@ public class CassandraEntityStoreMixin
                     try
                     {
                         storedValue = storedProperties.get( propertyDescriptor.qualifiedName().name()
);
-                        if( storedValue == null || storedValue.isEmpty() )
+                        if( storedValue == null )
                         {
                             properties.remove( propertyDescriptor.qualifiedName() );
                         }


Mime
View raw message