Anonymous avatar Anonymous committed 3841cf4

Supressed useless warnings.

git-svn-id: https://svn.apache.org/repos/asf/directory/studio/trunk@1469344 13f79535-47bb-0310-9956-ffa450edef68

Comments (0)

Files changed (5)

plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ConnectionServerConfigurationInput.java

     /**
      * {@inheritDoc}
      */
+    @SuppressWarnings("rawtypes")
     public Object getAdapter( Class adapter )
     {
         return null;

plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/NewServerConfigurationInput.java

     /**
      * {@inheritDoc}
      */
+    @SuppressWarnings("rawtypes")
     public Object getAdapter( Class adapter )
     {
         return null;

plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java

         indexesTableViewer.setContentProvider( new ArrayContentProvider() );
         indexesTableViewer.setLabelProvider( new LabelProvider()
         {
+            @SuppressWarnings("unchecked")
             public String getText( Object element )
             {
                 if ( element instanceof JdbmIndexBean )
     /**
      * Opens an indexed dialog with the selected index in the indexes table viewer.
      */
+    @SuppressWarnings("unchecked")
     private void editSelectedIndex()
     {
         StructuredSelection selection = ( StructuredSelection ) indexesTableViewer.getSelection();
     /**
      * Deletes the selected index in the indexes table viewer
      */
+    @SuppressWarnings("unchecked")
     private void deleteSelectedIndex()
     {
         StructuredSelection selection = ( StructuredSelection ) indexesTableViewer.getSelection();

plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditor.java

      * @param pageClass
      *      the class of the page
      */
+    @SuppressWarnings("rawtypes")
     public void showPage( Class<?> pageClass )
     {
         if ( pageClass != null )
         {
-            Enumeration<Object> enumeration = pages.elements();
+            Enumeration enumeration = pages.elements();
             while ( enumeration.hasMoreElements() )
             {
                 Object page = enumeration.nextElement();

plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationInput.java

     /**
      * {@inheritDoc}
      */
+    @SuppressWarnings("rawtypes")
     public Object getAdapter( Class adapter )
     {
         return null;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.