jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1390440 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
Date Wed, 26 Sep 2012 12:40:03 GMT
Author: angela
Date: Wed Sep 26 12:40:02 2012
New Revision: 1390440

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

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java?rev=1390440&r1=1390439&r2=1390440&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
Wed Sep 26 12:40:02 2012
@@ -120,8 +120,7 @@ public class SessionDelegate {
                 refresh(true);
             }
             return sessionOperation.perform();
-        }
-        finally {
+        } finally {
             sessionOpCount--;
         }
     }
@@ -230,8 +229,7 @@ public class SessionDelegate {
     public void save() throws RepositoryException {
         try {
             root.commit(conflictHandler);
-        }
-        catch (CommitFailedException e) {
+        } catch (CommitFailedException e) {
             e.throwRepositoryException();
         }
     }
@@ -239,8 +237,7 @@ public class SessionDelegate {
     public void refresh(boolean keepChanges) {
         if (keepChanges) {
             root.rebase(conflictHandler);
-        }
-        else {
+        } else {
             root.refresh();
         }
     }
@@ -376,8 +373,7 @@ public class SessionDelegate {
             Root currentRoot = contentSession.getLatestRoot();
             currentRoot.copy(srcPath, destPath);
             currentRoot.commit(DefaultConflictHandler.OURS);
-        }
-        catch (CommitFailedException e) {
+        } catch (CommitFailedException e) {
             e.throwRepositoryException();
         }
     }
@@ -418,8 +414,7 @@ public class SessionDelegate {
             if (!transientOp) {
                 moveRoot.commit(DefaultConflictHandler.OURS);
             }
-        }
-        catch (CommitFailedException e) {
+        } catch (CommitFailedException e) {
             e.throwRepositoryException();
         }
     }
@@ -540,9 +535,8 @@ public class SessionDelegate {
         @Override
         public boolean hasSessionLocalMappings() {
             if (session instanceof SessionImpl) {
-                return ((SessionImpl)session).hasSessionLocalMappings();
-            }
-            else {
+                return ((SessionImpl) session).hasSessionLocalMappings();
+            } else {
                 // we don't know
                 return true;
             }



Mime
View raw message