jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1364630 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/MergingNodeStateDiff.java
Date Mon, 23 Jul 2012 13:45:22 GMT
Author: mduerig
Date: Mon Jul 23 13:45:22 2012
New Revision: 1364630

URL: http://svn.apache.org/viewvc?rev=1364630&view=rev
Log:
minor: make private helper functions static

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/MergingNodeStateDiff.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/MergingNodeStateDiff.java?rev=1364630&r1=1364629&r2=1364630&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/MergingNodeStateDiff.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/MergingNodeStateDiff.java
Mon Jul 23 13:45:22 2012
@@ -203,7 +203,7 @@ class MergingNodeStateDiff implements No
 
     //-------------------------------------------------------------<private >---
 
-    private void addChild(Tree target, String name, NodeState state) {
+    private static void addChild(Tree target, String name, NodeState state) {
         Tree child = target.addChild(name);
         for (PropertyState property : state.getProperties()) {
             setProperty(child, property);
@@ -213,7 +213,7 @@ class MergingNodeStateDiff implements No
         }
     }
 
-    private void setProperty(Tree target, PropertyState property) {
+    private static void setProperty(Tree target, PropertyState property) {
         if (property.isArray()) {
             target.setProperty(property.getName(), property.getValues());
         } else {



Mime
View raw message