From 838e873376cc4a1cc3588746f6bf8dec4c9355a9 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 19 Jan 2010 17:09:10 +0000
Subject: [PATCH] Fix a bunch of warnings mentioned by the IDE (most of them related to the non-use of generics).

---
 opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java
index d6cb134..b017b68 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2008-2009 Sun Microsystems, Inc.
+ *      Copyright 2008-2010 Sun Microsystems, Inc.
  */
 
 package org.opends.guitools.controlpanel.ui;
@@ -957,7 +957,8 @@
 
   private HashMap<Object, ImageIcon> hmCategoryImages =
     new HashMap<Object, ImageIcon>();
-  private HashMap<Class, ImageIcon> hmImages = new HashMap<Class, ImageIcon>();
+  private HashMap<Class<?>, ImageIcon> hmImages =
+    new HashMap<Class<?>, ImageIcon>();
   {
     Object[] nodes = {standardIndexes, vlvIndexes};
     String[] paths = {"ds-idx-folder.png", "ds-vlv-idx-folder.png"};
@@ -966,7 +967,7 @@
       hmCategoryImages.put(nodes[i],
           Utilities.createImageIcon(IconPool.IMAGE_PATH+"/"+paths[i]));
     }
-    Class[] classes = {IndexTreeNode.class, VLVIndexTreeNode.class};
+    Class<?>[] classes = {IndexTreeNode.class, VLVIndexTreeNode.class};
     String[] ocPaths = {"ds-idx.png", "ds-vlv-idx.png"};
     for (int i=0; i<classes.length; i++)
     {

--
Gitblit v1.10.0