jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1443389 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak: kernel/ plugins/commit/ plugins/version/ spi/state/
Date Thu, 07 Feb 2013 10:27:35 GMT
Author: mduerig
Date: Thu Feb  7 10:27:35 2013
New Revision: 1443389

URL: http://svn.apache.org/viewvc?rev=1443389&view=rev
Log:
minor: mark classed that don't allow inheritance as final

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/JcrConflictHandler.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/MergingNodeStateDiff.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/VersionablePathHook.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java?rev=1443389&r1=1443388&r2=1443389&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/StringCache.java
Thu Feb  7 10:27:35 2013
@@ -27,7 +27,7 @@ import com.google.common.collect.Immutab
 /**
  * TODO document
  */
-class StringCache {
+final class StringCache {
 
     private static final Map<String, String> CONSTANTS = createStringMap(
             JcrConstants.JCR_AUTOCREATED,

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/JcrConflictHandler.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/JcrConflictHandler.java?rev=1443389&r1=1443388&r2=1443389&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/JcrConflictHandler.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/JcrConflictHandler.java
Thu Feb  7 10:27:35 2013
@@ -23,7 +23,7 @@ import org.apache.jackrabbit.oak.spi.com
 /**
  * Utility class providing conflict handlers used for JCR.
  */
-public class JcrConflictHandler {
+public final class JcrConflictHandler {
 
     /**
      * The conflict handler is a composite of {@link ChildOrderConflictHandler}

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/MergingNodeStateDiff.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/MergingNodeStateDiff.java?rev=1443389&r1=1443388&r2=1443389&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/MergingNodeStateDiff.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/commit/MergingNodeStateDiff.java
Thu Feb  7 10:27:35 2013
@@ -36,7 +36,7 @@ import org.slf4j.LoggerFactory;
 /**
  * MergingNodeStateDiff... TODO
  */
-class MergingNodeStateDiff extends DefaultNodeStateDiff {
+final class MergingNodeStateDiff extends DefaultNodeStateDiff {
     private static final Logger LOG = LoggerFactory.getLogger(MergingNodeStateDiff.class);
 
     public static final String CONFLICT = ":conflict";

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/VersionablePathHook.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/VersionablePathHook.java?rev=1443389&r1=1443388&r2=1443389&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/VersionablePathHook.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/VersionablePathHook.java
Thu Feb  7 10:27:35 2013
@@ -51,7 +51,7 @@ public class VersionablePathHook impleme
         return rootBuilder.getNodeState();
     }
 
-    private static class Diff extends DefaultNodeStateDiff implements VersionConstants {
+    private static final class Diff extends DefaultNodeStateDiff implements VersionConstants
{
 
         private final ReadWriteVersionManager versionManager;
         private final Node nodeAfter;

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java?rev=1443389&r1=1443388&r2=1443389&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java
Thu Feb  7 10:27:35 2013
@@ -19,7 +19,7 @@ package org.apache.jackrabbit.oak.spi.st
 /**
  * Utility method for code that deals with node states.
  */
-public class NodeStateUtils {
+public final class NodeStateUtils {
 
     private NodeStateUtils() {
     }



Mime
View raw message