directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1728315 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
Date Wed, 03 Feb 2016 13:54:59 GMT
Author: elecharny
Date: Wed Feb  3 13:54:59 2016
New Revision: 1728315

URL: http://svn.apache.org/viewvc?rev=1728315&view=rev
Log:
Copy the isRelaxed flag in the copy() method

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java?rev=1728315&r1=1728314&r2=1728315&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
Wed Feb  3 13:54:59 2016
@@ -600,6 +600,9 @@ public class AttributeType extends Abstr
         copy.syntax = null;
         copy.syntaxOid = syntaxOid;
         copy.syntaxLength = syntaxLength;
+        
+        // The relaxed flag
+        copy.setRelaxed( isRelaxed );
 
         return copy;
     }



Mime
View raw message