jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r382742 - /incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
Date Fri, 03 Mar 2006 09:52:36 GMT
Author: mreutegg
Date: Fri Mar  3 01:52:35 2006
New Revision: 382742

URL: http://svn.apache.org/viewcvs?rev=382742&view=rev
Log:
- remove redundant check

Modified:
    incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/ItemImpl.java

Modified: incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/ItemImpl.java?rev=382742&r1=382741&r2=382742&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
(original)
+++ incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
Fri Mar  3 01:52:35 2006
@@ -1098,8 +1098,7 @@
                                 // to dependencies
                                 dependentIDs.add(oldParentId);
                             } else {
-                                if (oldParentId!= null &&
-                                        !oldParentId.equals(newParentId)) {
+                                if (!oldParentId.equals(newParentId)) {
                                     // node has been moved, add old and new parent
                                     // to dependencies
                                     dependentIDs.add(oldParentId);



Mime
View raw message