usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject [37/38] usergrid git commit: Update comment
Date Wed, 17 Aug 2016 21:48:44 GMT
Update comment


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/32782a39
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/32782a39
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/32782a39

Branch: refs/heads/master
Commit: 32782a39bf82c1bf606cf587ac4d57ec85b2b15e
Parents: b23c20a
Author: Michael Russo <mrusso@apigee.com>
Authored: Tue Jul 26 11:10:29 2016 -0700
Committer: Michael Russo <mrusso@apigee.com>
Committed: Tue Jul 26 11:10:29 2016 -0700

----------------------------------------------------------------------
 .../impl/UniqueValueSerializationStrategyV2Impl.java             | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/32782a39/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/UniqueValueSerializationStrategyV2Impl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/UniqueValueSerializationStrategyV2Impl.java
b/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/UniqueValueSerializationStrategyV2Impl.java
index 92c0a5b..a5fceeb 100644
--- a/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/UniqueValueSerializationStrategyV2Impl.java
+++ b/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/serialization/impl/UniqueValueSerializationStrategyV2Impl.java
@@ -294,7 +294,9 @@ public class UniqueValueSerializationStrategyV2Impl  extends UniqueValueSerializ
 
         for (Object key : keys) {
 
-            // custom comparator mappings in  CQLUtils.COMPOSITE_TYPE ( more leftover from
Asytanax )
+            // custom comparator alias to comparator mappings in  CQLUtils.COMPOSITE_TYPE
( more leftover from Asytanax )
+            // the custom mapping is used for schema creation, but datastax driver does not
have the alias concept and
+            // we must work with the actual types
             if(key instanceof UUID){
                 comparator = "UUIDType";
             }else{


Mime
View raw message