directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r570860 - in /directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor: PluginUtils.java view/wizards/NewAttributeTypeWizard.java
Date Wed, 29 Aug 2007 16:38:55 GMT
Author: pamarcelot
Date: Wed Aug 29 09:38:52 2007
New Revision: 570860

URL: http://svn.apache.org/viewvc?rev=570860&view=rev
Log:
Fixed bugs with no-user-modification values.

Modified:
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewAttributeTypeWizard.java

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java?rev=570860&r1=570859&r2=570860&view=diff
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java
Wed Aug 29 09:38:52 2007
@@ -43,8 +43,6 @@
 import org.eclipse.core.runtime.Platform;
 import org.eclipse.core.runtime.Status;
 
-import com.sun.org.apache.bcel.internal.generic.LUSHR;
-
 
 /**
  * This class contains helper methods.
@@ -90,7 +88,7 @@
         clone.setObsolete( at.isObsolete() );
         clone.setSingleValue( at.isSingleValue() );
         clone.setCollective( at.isCollective() );
-        clone.setCanUserModify( clone.isCanUserModify() );
+        clone.setCanUserModify( at.isCanUserModify() );
         clone.setEqualityName( at.getEqualityName() );
         clone.setOrderingName( at.getOrderingName() );
         clone.setSubstrName( at.getSubstrName() );

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewAttributeTypeWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewAttributeTypeWizard.java?rev=570860&r1=570859&r2=570860&view=diff
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewAttributeTypeWizard.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewAttributeTypeWizard.java
Wed Aug 29 09:38:52 2007
@@ -82,7 +82,7 @@
         newAT.setObsolete( contentPage.getObsoleteValue() );
         newAT.setSingleValue( contentPage.getSingleValueValue() );
         newAT.setCollective( contentPage.getCollectiveValue() );
-        newAT.setCanUserModify( contentPage.getNoUserModificationValue() );
+        newAT.setCanUserModify( !contentPage.getNoUserModificationValue() );
         newAT.setEqualityName( matchingRulesPage.getEqualityMatchingRuleValue() );
         newAT.setOrderingName( matchingRulesPage.getOrderingMatchingRuleValue() );
         newAT.setSubstrName( matchingRulesPage.getSubstringMatchingRuleValue() );



Mime
View raw message