directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r490764 - in /directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas: controller/actions/ model/ view/editors/ view/viewers/ view/viewers/wrappers/
Date Thu, 28 Dec 2006 17:37:40 GMT
Author: elecharny
Date: Thu Dec 28 09:37:37 2006
New Revision: 490764

URL: http://svn.apache.org/viewvc?view=rev&rev=490764
Log:
Removed warnings

Modified:
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/DeleteAction.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortHierarchicalViewAction.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortPoolManagerAction.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/LDAPModelEvent.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/Schema.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorSourceCodePage.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorOverviewPage.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorSourceCodePage.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/SchemaFormEditorSourceCodePage.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/HierarchicalContentProvider.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/PoolManagerContentProvider.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/wrappers/ObjectClassWrapper.java

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/DeleteAction.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/DeleteAction.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/DeleteAction.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/DeleteAction.java
Thu Dec 28 09:37:37 2006
@@ -61,7 +61,7 @@
     private enum ItemType
     {
         attributeType, objectClass
-    };
+    }
 
 
     /**

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortHierarchicalViewAction.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortHierarchicalViewAction.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortHierarchicalViewAction.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortHierarchicalViewAction.java
Thu Dec 28 09:37:37 2006
@@ -43,7 +43,7 @@
     public enum SortType
     {
         alphabetical, unalphabetical
-    };
+    }
 
     private SortType type;
 

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortPoolManagerAction.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortPoolManagerAction.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortPoolManagerAction.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/SortPoolManagerAction.java
Thu Dec 28 09:37:37 2006
@@ -42,7 +42,7 @@
     public enum SortType
     {
         alphabetical, unalphabetical
-    };
+    }
 
     private SortType type;
 

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/LDAPModelEvent.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/LDAPModelEvent.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/LDAPModelEvent.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/LDAPModelEvent.java
Thu Dec 28 09:37:37 2006
@@ -36,7 +36,7 @@
     public enum Reason
     {
         SchemaAdded, SchemaRemoved, multipleSchemaRemoved, multipleSchemaAdded, SchemaSaved,
OCAdded, OCRemoved, ATAdded, ATRemoved, OCModified, ATModified, poolCleared
-    };
+    }
 
     private Reason reason = null;
     private Object element = null;

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/Schema.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/Schema.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/Schema.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/Schema.java
Thu Dec 28 09:37:37 2006
@@ -67,7 +67,7 @@
     public enum SchemaType
     {
         userSchema, coreSchema
-    };
+    }
 
     /**
      * The type of this schema

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorOverviewPage.java
Thu Dec 28 09:37:37 2006
@@ -112,7 +112,7 @@
 
         // Getting the input and the attributeType
         AttributeTypeFormEditorInput input = ( AttributeTypeFormEditorInput ) getEditorInput();
-        attributeType = ( AttributeType ) input.getAttributeType();
+        attributeType = input.getAttributeType();
 
         // General Information Section
         Section section_general_information = toolkit.createSection( form.getBody(), Section.DESCRIPTION

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorSourceCodePage.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorSourceCodePage.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/AttributeTypeFormEditorSourceCodePage.java
Thu Dec 28 09:37:37 2006
@@ -67,7 +67,7 @@
 
         // Getting the input and the objectClass
         AttributeTypeFormEditorInput input = ( AttributeTypeFormEditorInput ) getEditorInput();
-        attributeType = ( AttributeType ) input.getAttributeType();
+        attributeType = input.getAttributeType();
 
         // SOURCE CODE Field
         sourceCode_text = toolkit.createText( form.getBody(), "", SWT.MULTI ); //$NON-NLS-1$

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorOverviewPage.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorOverviewPage.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorOverviewPage.java
Thu Dec 28 09:37:37 2006
@@ -112,7 +112,7 @@
 
         // Getting the input and the objectClass
         ObjectClassFormEditorInput input = ( ObjectClassFormEditorInput ) getEditorInput();
-        objectClass = ( ObjectClass ) input.getObjectClass();
+        objectClass = input.getObjectClass();
 
         // General Information Section
         Section section_general_information = toolkit.createSection( form.getBody(), Section.DESCRIPTION
@@ -325,7 +325,7 @@
     private void createOptionnalAttributesSection( Composite parent, FormToolkit toolkit
)
     {
         // OPTIONNAL ATTRIBUTES Section
-        Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR
);
+        Section section = toolkit.createSection( parent, Section.DESCRIPTION |  Section.TITLE_BAR
);
         section.setText( Messages.getString( "ObjectClassFormEditorOverviewPage.Optionnal_Attributes_Section_Text"
) ); //$NON-NLS-1$
         section.setDescription( Messages
             .getString( "ObjectClassFormEditorOverviewPage.Optionnal_Attributes_Section_Description"
) ); //$NON-NLS-1$

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorSourceCodePage.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorSourceCodePage.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/ObjectClassFormEditorSourceCodePage.java
Thu Dec 28 09:37:37 2006
@@ -67,7 +67,7 @@
 
         // Getting the input and the objectClass
         ObjectClassFormEditorInput input = ( ObjectClassFormEditorInput ) getEditorInput();
-        objectClass = ( ObjectClass ) input.getObjectClass();
+        objectClass = input.getObjectClass();
 
         // SOURCE CODE Field
         sourceCode_text = toolkit.createText( form.getBody(), "", SWT.MULTI ); //$NON-NLS-1$

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/SchemaFormEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/SchemaFormEditorSourceCodePage.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/SchemaFormEditorSourceCodePage.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/SchemaFormEditorSourceCodePage.java
Thu Dec 28 09:37:37 2006
@@ -69,7 +69,7 @@
 
         // Getting the input and the objectClass
         SchemaFormEditorInput input = ( SchemaFormEditorInput ) getEditorInput();
-        schema = ( Schema ) input.getSchema();
+        schema = input.getSchema();
 
         // SOURCE CODE Field
         sourceCode_text = toolkit.createText( form.getBody(), "", SWT.MULTI ); //$NON-NLS-1$

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/HierarchicalContentProvider.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/HierarchicalContentProvider.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/HierarchicalContentProvider.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/HierarchicalContentProvider.java
Thu Dec 28 09:37:37 2006
@@ -104,7 +104,7 @@
         if ( parentElement instanceof ObjectClassWrapper )
         {
             //we are looking for the childrens of the contained objectClass
-            ObjectClass objectClass = ( ObjectClass ) ( ( ( ObjectClassWrapper ) parentElement
).getMyObjectClass() );
+            ObjectClass objectClass =  ( ( ObjectClassWrapper ) parentElement ).getMyObjectClass();
 
             IntermediateNode sub = new IntermediateNode( "Sub-types", ( ObjectClassWrapper
) parentElement, this ); //$NON-NLS-1$
             IntermediateNode may = new IntermediateNode(

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/PoolManagerContentProvider.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/PoolManagerContentProvider.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/PoolManagerContentProvider.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/PoolManagerContentProvider.java
Thu Dec 28 09:37:37 2006
@@ -114,7 +114,7 @@
         else if ( parentElement instanceof SchemaWrapper )
         {
             //we are looking for the childrens of the contained objectClass
-            Schema schema = ( Schema ) ( ( ( SchemaWrapper ) parentElement ).getMySchema()
);
+            Schema schema = ( ( ( SchemaWrapper ) parentElement ).getMySchema() );
 
             IntermediateNode attributeTypes = new IntermediateNode(
                 "Attribute Types", ( SchemaWrapper ) parentElement, this ); //$NON-NLS-1$

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/wrappers/ObjectClassWrapper.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/wrappers/ObjectClassWrapper.java?view=diff&rev=490764&r1=490763&r2=490764
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/wrappers/ObjectClassWrapper.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/wrappers/ObjectClassWrapper.java
Thu Dec 28 09:37:37 2006
@@ -41,7 +41,7 @@
     public enum State
     {
         resolved, unResolved
-    };
+    }
 
     private State state;
     private IntermediateNode parent;



Mime
View raw message