directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r818378 - /directory/apacheds/branches/apacheds-schema/core-entry/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
Date Thu, 24 Sep 2009 06:40:10 GMT
Author: elecharny
Date: Thu Sep 24 06:40:10 2009
New Revision: 818378

URL: http://svn.apache.org/viewvc?rev=818378&view=rev
Log:
The original entry is now cloned to avoid a modification

Modified:
    directory/apacheds/branches/apacheds-schema/core-entry/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java

Modified: directory/apacheds/branches/apacheds-schema/core-entry/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-entry/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java?rev=818378&r1=818377&r2=818378&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-entry/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-entry/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
Thu Sep 24 06:40:10 2009
@@ -63,7 +63,7 @@
      */
     public ClonedServerEntry( ServerEntry originalEntry )
     {
-        this.originalEntry = originalEntry;
+        this.originalEntry = ( ServerEntry )originalEntry.clone();
         this.clonedEntry = ( ServerEntry ) originalEntry.clone();
     }
     



Mime
View raw message