jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1446564 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUtils.java
Date Fri, 15 Feb 2013 13:13:48 GMT
Author: alexparvulescu
Date: Fri Feb 15 13:13:48 2013
New Revision: 1446564

URL: http://svn.apache.org/r1446564
Log:
OAK-583 Inconsistencies in property index definitions
 - removed fixme

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUtils.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUtils.java?rev=1446564&r1=1446563&r2=1446564&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUtils.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUtils.java
Fri Feb 15 13:13:48 2013
@@ -75,12 +75,7 @@ public class IndexUtils implements Index
         if (unique) {
             entry.setProperty(IndexConstants.UNIQUE_PROPERTY_NAME, unique);
         }
-        // FIXME OAK-583
-        if (propertyNames.size() == 1) {
-            entry.setProperty(IndexConstants.PROPERTY_NAMES, propertyNames.get(0));
-        } else {
-            entry.setProperty(PropertyStates.createProperty(IndexConstants.PROPERTY_NAMES,
propertyNames, Type.STRINGS));
-        }
+        entry.setProperty(PropertyStates.createProperty(IndexConstants.PROPERTY_NAMES, propertyNames,
Type.STRINGS));
         if (declaringNodeTypeNames != null && !declaringNodeTypeNames.isEmpty())
{
             entry.setProperty(PropertyStates.createProperty(IndexConstants.DECLARING_NODE_TYPES,
declaringNodeTypeNames, Type.STRINGS));
         }



Mime
View raw message