jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r124235 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java
Date Wed, 05 Jan 2005 17:43:25 GMT
Author: stefan
Date: Wed Jan  5 09:43:23 2005
New Revision: 124235

URL: http://svn.apache.org/viewcvs?view=rev&rev=124235
Log:
cosmetics
Modified:
   incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java
   incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java
   incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java
Url: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java?view=diff&rev=124235&p1=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java&r1=124234&p2=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java&r2=124235
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java	(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeId.java	Wed Jan  5
09:43:23 2005
@@ -23,7 +23,7 @@
 
     static final long serialVersionUID = 7026219091360041109L;
 
-    private String uuid;
+    private final String uuid;
 
     public NodeId(String uuid) {
         if (uuid == null) {

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java
Url: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java?view=diff&rev=124235&p1=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java&r1=124234&p2=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java&r2=124235
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java	(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/PropertyId.java	Wed Jan
 5 09:43:23 2005
@@ -23,8 +23,8 @@
 
     static final long serialVersionUID = -3726624437800567892L;
 
-    private String parentUUID;
-    private QName propName;
+    private final String parentUUID;
+    private final QName propName;
 
     public PropertyId(String parentUUID, QName propName) {
         if (parentUUID == null) {

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java
Url: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java?view=diff&rev=124235&p1=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java&r1=124234&p2=incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java&r2=124235
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ReferenceManager.java
Wed Jan  5 09:43:23 2005
@@ -36,7 +36,7 @@
      * A cache for <code>NodeReferences</code> objects created by this
      * <code>ReferenceManager</code>
      */
-    private Map refsCache;
+    private final Map refsCache;
 
     /**
      * Package private constructor
@@ -59,11 +59,11 @@
         NodeReferences refs;
         try {
             // load persisted references
-            refs = new NodeReferences(new NodeId(targetId.getUUID()));
+            refs = new NodeReferences(targetId);
             persistMgr.load(refs);
         } catch (NoSuchItemStateException nsise) {
             // does not exist, create new
-            refs = new NodeReferences(new NodeId(targetId.getUUID()));
+            refs = new NodeReferences(targetId);
         } catch (ItemStateException ise) {
             String msg = "error while loading references";
             log.error(msg, ise);

Mime
View raw message