chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r893772 - in /incubator/chemistry/trunk/chemistry: chemistry-api/src/main/java/org/apache/chemistry/ chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/ chemistry-commons/src/main/java/org/apache/chemistry/impl/simpl...
Date Thu, 24 Dec 2009 15:15:04 GMT
Author: fguillaume
Date: Thu Dec 24 15:15:03 2009
New Revision: 893772

URL: http://svn.apache.org/viewvc?rev=893772&view=rev
Log:
Better parameter order for SPI.checkIn

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/SPI.java
    incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/APPConnection.java
    incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleConnection.java
    incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrConnection.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/SPI.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/SPI.java?rev=893772&r1=893771&r2=893772&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/SPI.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-api/src/main/java/org/apache/chemistry/SPI.java
Thu Dec 24 15:15:03 2009
@@ -754,10 +754,10 @@
      * Makes the private working copy the current version of the document.
      *
      * @param document the private working copy
-     * @param major {@code true} if the version is a major version
      * @param properties the properties to set on the document, or {@code null}
      * @param contentStream the content stream to set on the document, or
      *            {@code null}
+     * @param major {@code true} if the version is a major version
      * @param comment a check-in comment, or {@code null}
      * @return a reference to the new version of the document
      *
@@ -767,9 +767,9 @@
      *             document
      * @throws UpdateConflictException if the object is no longer current
      */
-    ObjectId checkIn(ObjectId document, boolean major,
-            Map<String, Serializable> properties, ContentStream contentStream,
-            String comment) throws UpdateConflictException;
+    ObjectId checkIn(ObjectId document, Map<String, Serializable> properties,
+            ContentStream contentStream, boolean major, String comment)
+            throws UpdateConflictException;
 
     // TODO 1.0 getObjectOfLatestVersion
 

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/APPConnection.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/APPConnection.java?rev=893772&r1=893771&r2=893772&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/APPConnection.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/main/java/org/apache/chemistry/atompub/client/APPConnection.java
Thu Dec 24 15:15:03 2009
@@ -710,8 +710,8 @@
         throw new UnsupportedOperationException();
     }
 
-    public ObjectId checkIn(ObjectId document, boolean major,
-            Map<String, Serializable> properties, ContentStream contentStream,
+    public ObjectId checkIn(ObjectId document, Map<String, Serializable> properties,
+            ContentStream contentStream, boolean major,
             String comment) {
         // TODO Auto-generated method stub
         throw new UnsupportedOperationException();

Modified: incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleConnection.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleConnection.java?rev=893772&r1=893771&r2=893772&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleConnection.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/java/org/apache/chemistry/impl/simple/SimpleConnection.java
Thu Dec 24 15:15:03 2009
@@ -822,8 +822,8 @@
         throw new UnsupportedOperationException();
     }
 
-    public ObjectId checkIn(ObjectId document, boolean major,
-            Map<String, Serializable> properties, ContentStream contentStream,
+    public ObjectId checkIn(ObjectId document, Map<String, Serializable> properties,
+            ContentStream contentStream, boolean major,
             String comment) {
         // TODO Auto-generated method stub
         throw new UnsupportedOperationException();

Modified: incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrConnection.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrConnection.java?rev=893772&r1=893771&r2=893772&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrConnection.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-jcr/src/main/java/org/apache/chemistry/jcr/JcrConnection.java
Thu Dec 24 15:15:03 2009
@@ -181,8 +181,8 @@
         throw new UnsupportedOperationException();
     }
 
-    public ObjectId checkIn(ObjectId documentId, boolean major,
-            Map<String, Serializable> properties, ContentStream contentStream,
+    public ObjectId checkIn(ObjectId documentId, Map<String, Serializable> properties,
+            ContentStream contentStream, boolean major,
             String comment) {
         // TODO Auto-generated method stub
         throw new UnsupportedOperationException();



Mime
View raw message