incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1003843 - /sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/VersioningConfiguration.java
Date Sat, 02 Oct 2010 17:34:56 GMT
Author: fmeschbe
Date: Sat Oct  2 17:34:56 2010
New Revision: 1003843

URL: http://svn.apache.org/viewvc?rev=1003843&view=rev
Log:
SLING-1796 By default do not checkout checked-in nodes before applying modifications. This
is to not enable modifications which were not possible before adding versioning support. This
may still be overwritten by configuration to automatically checkout checked-in nodes before
modification.

Modified:
    sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/VersioningConfiguration.java

Modified: sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/VersioningConfiguration.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/VersioningConfiguration.java?rev=1003843&r1=1003842&r2=1003843&view=diff
==============================================================================
--- sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/VersioningConfiguration.java
(original)
+++ sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/VersioningConfiguration.java
Sat Oct  2 17:34:56 2010
@@ -5,9 +5,9 @@
  * licenses this file to You under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  * http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -22,11 +22,11 @@ package org.apache.sling.servlets.post;
  * nodes are handled in the post servlet.
  */
 public class VersioningConfiguration implements Cloneable {
-    
-    private boolean autoCheckout = true;
-    
+
+    private boolean autoCheckout = false;
+
     private boolean checkinOnNewVersionableNode = false;
-    
+
     private boolean autoCheckin = true;
 
     @Override
@@ -61,5 +61,5 @@ public class VersioningConfiguration imp
     public void setCheckinOnNewVersionableNode(boolean checkinOnNewVersionableNode) {
         this.checkinOnNewVersionableNode = checkinOnNewVersionableNode;
     }
-    
+
 }



Mime
View raw message