jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1364943 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Date Tue, 24 Jul 2012 09:04:17 GMT
Author: angela
Date: Tue Jul 24 09:04:17 2012
New Revision: 1364943

URL: http://svn.apache.org/viewvc?rev=1364943&view=rev
Log:
fix indention

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java?rev=1364943&r1=1364942&r2=1364943&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Tue Jul 24 09:04:17 2012
@@ -197,14 +197,12 @@ public class TreeImpl implements Tree, P
         if (baseState == null) {
             // Did not exist before, so its NEW
             return Status.NEW;
-        }
-        else {
+        } else {
             // Did exit it before. So...
             if (isSame(baseState, getNodeState())) {
                 // ...it's EXISTING if it hasn't changed
                 return Status.EXISTING;
-            }
-            else {
+            } else {
                 // ...and MODIFIED otherwise.
                 return Status.MODIFIED;
             }
@@ -259,8 +257,7 @@ public class TreeImpl implements Tree, P
             parent.children.remove(name);
             parent.root.purge();
             return true;
-        }
-        else {
+        } else {
             return false;
         }
     }



Mime
View raw message