Author: jens
Date: Sun Feb 10 18:29:34 2013
New Revision: 1444579
URL: http://svn.apache.org/r1444579
Log:
InMemory: make multi-value properties not order able by default
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java
URL:
http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java?rev=1444579&r1=1444578&r2=1444579&view=diff
==============================================================================
---
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java
(original)
+++
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/types/PropertyCreationHelper.java
Sun Feb 10 18:29:34 2013
@@ -427,7 +427,7 @@ public class PropertyCreationHelper {
prop.setIsOpenChoice(false);
prop.setIsQueryable(true);
prop.setIsRequired(false);
- prop.setIsOrderable(true);
+ prop.setIsOrderable(card == Cardinality.SINGLE ? true : false);
prop.setPropertyType(propType);
prop.setUpdatability(upd);
}