directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r568611 - in /directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view: editors/attributeType/ editors/objectClass/ editors/schema/ views/
Date Wed, 22 Aug 2007 13:58:16 GMT
Author: pamarcelot
Date: Wed Aug 22 06:58:14 2007
New Revision: 568611

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

Modified:
    directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java
    directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
    directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorInput.java
    directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java
    directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/schema/SchemaEditorInput.java
    directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/views/SchemasViewContentProvider.java

Modified: directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java?rev=568611&r1=568610&r2=568611&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java
(original)
+++ directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java
Wed Aug 22 06:58:14 2007
@@ -67,7 +67,6 @@
      */
     public ImageDescriptor getImageDescriptor()
     {
-        // TODO Auto-generated method stub
         return null;
     }
 
@@ -90,7 +89,6 @@
      */
     public IPersistableElement getPersistable()
     {
-        // TODO Auto-generated method stub
         return null;
     }
 
@@ -114,6 +112,7 @@
      * 
      * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
      */
+    @SuppressWarnings("unchecked")
     public Object getAdapter( Class adapter )
     {
         return null;

Modified: directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java?rev=568611&r1=568610&r2=568611&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
(original)
+++ directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
Wed Aug 22 06:58:14 2007
@@ -78,7 +78,7 @@
                 ( ( AttributeTypeEditor ) getEditor() ).setDirty( true );
                 OpenLdapSchemaParser parser = new OpenLdapSchemaParser();
                 parser.parse( schemaSourceViewer.getTextWidget().getText() );
-                List attributeTypes = parser.getAttributeTypes();
+                List<?> attributeTypes = parser.getAttributeTypes();
                 if ( attributeTypes.size() != 1 )
                 {
                     // Throw an exception and return

Modified: directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorInput.java?rev=568611&r1=568610&r2=568611&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorInput.java
(original)
+++ directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorInput.java
Wed Aug 22 06:58:14 2007
@@ -99,6 +99,7 @@
     /* (non-Javadoc)
      * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
      */
+    @SuppressWarnings("unchecked")
     public Object getAdapter( Class adapter )
     {
         return null;

Modified: directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java?rev=568611&r1=568610&r2=568611&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java
(original)
+++ directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java
Wed Aug 22 06:58:14 2007
@@ -79,7 +79,7 @@
                 OpenLdapSchemaParser parser = new OpenLdapSchemaParser();
                 parser.parse( schemaSourceViewer.getTextWidget().getText() );
 
-                List objectclasses = parser.getObjectClassTypes();
+                List<?> objectclasses = parser.getObjectClassTypes();
                 if ( objectclasses.size() != 1 )
                 {
                     // TODO Throw an exception and return

Modified: directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/schema/SchemaEditorInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/schema/SchemaEditorInput.java?rev=568611&r1=568610&r2=568611&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/schema/SchemaEditorInput.java
(original)
+++ directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/editors/schema/SchemaEditorInput.java
Wed Aug 22 06:58:14 2007
@@ -95,6 +95,7 @@
     /* (non-Javadoc)
      * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
      */
+    @SuppressWarnings("unchecked")
     public Object getAdapter( Class adapter )
     {
         return null;

Modified: directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/views/SchemasViewContentProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/views/SchemasViewContentProvider.java?rev=568611&r1=568610&r2=568611&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/views/SchemasViewContentProvider.java
(original)
+++ directory/studio/trunk/studio-schemaeditor-plugin/src/main/java/org/apache/directory/studio/schemas/view/views/SchemasViewContentProvider.java
Wed Aug 22 06:58:14 2007
@@ -353,7 +353,7 @@
         ITreeNode rootNode = ( ITreeNode ) viewer.getInput();
 
         List<ITreeNode> schemaWrapperList = rootNode.getChildren();
-        for ( Iterator iter = schemaWrapperList.iterator(); iter.hasNext(); )
+        for ( Iterator<?> iter = schemaWrapperList.iterator(); iter.hasNext(); )
         {
             SchemaWrapper schemaWrapper = ( SchemaWrapper ) iter.next();
             if ( schemaWrapper.getMySchema().equals( ( Schema ) e.getOldValue() ) )



Mime
View raw message