chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r796782 - in /incubator/chemistry/trunk/chemistry: chemistry-api/src/main/java/org/apache/chemistry/ chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/ chemistry-commons/src/main/java/org/apache/chemistry/impl/...
Date Wed, 22 Jul 2009 16:25:17 GMT
Author: fguillaume
Date: Wed Jul 22 16:25:17 2009
New Revision: 796782

URL: http://svn.apache.org/viewvc?rev=796782&view=rev
Log:
CMIS-44: proper JoinCapability#NONE constant name

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/JoinCapability.java
    incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/ServiceDocumentReader.java
    incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleRepository.java
    incubator/chemistry/trunk/chemistry/chemistry-commons/src/test/java/org/apache/chemistry/impl/simple/TestSimpleRepository.java
    incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrRepository.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/JoinCapability.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/JoinCapability.java?rev=796782&r1=796781&r2=796782&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/JoinCapability.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/JoinCapability.java
Wed Jul 22 16:25:17 2009
@@ -27,7 +27,7 @@
     /**
      * No join support.
      */
-    NO_JOIN("none"),
+    NONE("none"),
 
     /**
      * Support inner join only.

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/ServiceDocumentReader.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/ServiceDocumentReader.java?rev=796782&r1=796781&r2=796782&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/ServiceDocumentReader.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/stax/ServiceDocumentReader.java
Wed Jul 22 16:25:17 2009
@@ -114,7 +114,7 @@
                                 reader.getElementText(), QueryCapability.NONE));
                     } else if (localName.equals(CMIS.CAPABILITY_JOIN.getLocalPart())) {
                         caps.setJoinCapability(JoinCapability.get(
-                                reader.getElementText(), JoinCapability.NO_JOIN));
+                                reader.getElementText(), JoinCapability.NONE));
                     }
                 }
             } else if (localName.equals("repositorySpecificInformation")) {
@@ -153,7 +153,7 @@
                                 el2.getText(), QueryCapability.NONE));
                     } else if (localName.equals(CMIS.CAPABILITY_JOIN.getLocalPart())) {
                         caps.setJoinCapability(JoinCapability.get(
-                                el2.getText(), JoinCapability.NO_JOIN));
+                                el2.getText(), JoinCapability.NONE));
                     }
                 }
             } else if (localName.equals("repositorySpecificInformation")) {

Modified: incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleRepository.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleRepository.java?rev=796782&r1=796781&r2=796782&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleRepository.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleRepository.java
Wed Jul 22 16:25:17 2009
@@ -165,7 +165,7 @@
     }
 
     public JoinCapability getJoinCapability() {
-        return JoinCapability.NO_JOIN;
+        return JoinCapability.NONE;
     }
 
     public QueryCapability getQueryCapability() {

Modified: incubator/chemistry/trunk/chemistry/chemistry-commons/src/test/java/org/apache/chemistry/impl/simple/TestSimpleRepository.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-commons/src/test/java/org/apache/chemistry/impl/simple/TestSimpleRepository.java?rev=796782&r1=796781&r2=796782&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-commons/src/test/java/org/apache/chemistry/impl/simple/TestSimpleRepository.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-commons/src/test/java/org/apache/chemistry/impl/simple/TestSimpleRepository.java
Wed Jul 22 16:25:17 2009
@@ -92,7 +92,7 @@
         assertFalse(capabilities.isPWCUpdatable());
         assertFalse(capabilities.isPWCSearchable());
         assertFalse(capabilities.isAllVersionsSearchable());
-        assertEquals(JoinCapability.NO_JOIN, capabilities.getJoinCapability());
+        assertEquals(JoinCapability.NONE, capabilities.getJoinCapability());
         assertEquals(QueryCapability.BOTH_COMBINED,
                 capabilities.getQueryCapability());
 

Modified: incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrRepository.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrRepository.java?rev=796782&r1=796781&r2=796782&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrRepository.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrRepository.java
Wed Jul 22 16:25:17 2009
@@ -208,7 +208,7 @@
     // -------------------------------------------------- RepositoryCapabilities
 
     public JoinCapability getJoinCapability() {
-        return JoinCapability.NO_JOIN;
+        return JoinCapability.NONE;
     }
 
     public QueryCapability getQueryCapability() {



Mime
View raw message