You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2009/11/23 19:32:37 UTC
svn commit: r883448 -
/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaObject.java
Author: elecharny
Date: Mon Nov 23 18:32:33 2009
New Revision: 883448
URL: http://svn.apache.org/viewvc?rev=883448&view=rev
Log:
Initialized the default values for some flags
Modified:
directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaObject.java
Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaObject.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaObject.java?rev=883448&r1=883447&r2=883448&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaObject.java (original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaObject.java Mon Nov 23 18:32:33 2009
@@ -83,13 +83,13 @@
protected List<String> names;
/** Whether or not this SchemaObject is enabled */
- protected boolean isEnabled;
+ protected boolean isEnabled = true;
/** Whether or not this SchemaObject can be modified */
- protected boolean isReadOnly;
+ protected boolean isReadOnly = false;
/** Whether or not this SchemaObject is obsolete */
- protected boolean isObsolete;
+ protected boolean isObsolete = false;
/** A short description of this SchemaObject */
protected String description;
@@ -116,8 +116,6 @@
{
this.objectType = objectType;
this.oid = oid;
- isEnabled = true;
- isReadOnly = false;
extensions = new HashMap<String, List<String>>();
names = new ArrayList<String>();
}
@@ -132,8 +130,6 @@
protected SchemaObject( SchemaObjectType objectType )
{
this.objectType = objectType;
- isEnabled = true;
- isReadOnly = false;
extensions = new HashMap<String, List<String>>();
names = new ArrayList<String>();
}