Index: applications/editors/josm/plugins/OsmInspectorPlugin/build.xml
===================================================================
--- applications/editors/josm/plugins/OsmInspectorPlugin/build.xml	(revision 29853)
+++ applications/editors/josm/plugins/OsmInspectorPlugin/build.xml	(revision 29854)
@@ -5,5 +5,5 @@
     <property name="commit.message" value="Commit message"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="4394"/>
+    <property name="plugin.main.version" value="6162"/>
 
     <property name="plugin.author" value="Nikhil Shirahatti"/>
Index: applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/ImportOsmInspectorBugsAction.java
===================================================================
--- applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/ImportOsmInspectorBugsAction.java	(revision 29853)
+++ applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/ImportOsmInspectorBugsAction.java	(revision 29854)
@@ -7,9 +7,5 @@
 import java.awt.event.KeyEvent;
 
-import javax.swing.JPanel;
-import javax.swing.JProgressBar;
 import javax.swing.ProgressMonitor;
-import javax.swing.event.ListSelectionEvent;
-import javax.swing.event.ListSelectionListener;
 
 import org.openstreetmap.josm.Main;
Index: applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OSMIFeatureTracker.java
===================================================================
--- applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OSMIFeatureTracker.java	(revision 29853)
+++ applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OSMIFeatureTracker.java	(revision 29854)
@@ -16,8 +16,8 @@
 	public OSMIFeatureTracker(
 			FeatureCollection<SimpleFeatureType, SimpleFeature> featuresIn) {
-		hashFeatures = new HashMap();
+		hashFeatures = new HashMap<Long, SimpleFeature>();
 		features = new MemoryFeatureCollection(featuresIn.getSchema());
 
-		for (Iterator it = features.iterator(); it.hasNext();) {
+		for (Iterator<?> it = features.iterator(); it.hasNext();) {
 			SimpleFeature element = (SimpleFeature) it.next();
 			try {
@@ -39,5 +39,5 @@
 	public boolean mergeFeatures(
 			FeatureCollection<SimpleFeatureType, SimpleFeature> newFeatures) {
-		for (Iterator it = newFeatures.iterator(); it.hasNext();) {
+		for (Iterator<SimpleFeature> it = newFeatures.iterator(); it.hasNext();) {
 			SimpleFeature element = (SimpleFeature) it.next();
 			try {
Index: applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java
===================================================================
--- applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java	(revision 29853)
+++ applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java	(revision 29854)
@@ -57,4 +57,5 @@
 import org.openstreetmap.josm.plugins.osminspector.gui.OsmInspectorDialog;
 import org.openstreetmap.josm.tools.ImageProvider;
+
 import com.vividsolutions.jts.geom.Envelope;
 import com.vividsolutions.jts.geom.Geometry;
@@ -338,5 +339,4 @@
 	 * @throws ParseException
 	 */
-	@SuppressWarnings("unchecked")
 	public OsmInspectorLayer(GeoFabrikWFSClient wfsClient,
 			ProgressMonitor monitor) throws NoSuchAuthorityCodeException,
@@ -403,5 +403,4 @@
 	 * @throws IndexOutOfBoundsException
 	 */
-	@SuppressWarnings("unchecked")
 	public void loadFeatures(GeoFabrikWFSClient wfsClient)
 			throws NoSuchAuthorityCodeException, FactoryException, IOException,
Index: applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorPlugin.java
===================================================================
--- applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorPlugin.java	(revision 29853)
+++ applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorPlugin.java	(revision 29854)
@@ -45,8 +45,5 @@
 	}
 	
-	
-	
-	
-	 /**
+	/**
      * Initialize the <code>OsmInspectorPlugin</code> object. Creates the
      * <code>OsmInspectorGUI</code> and initializes the following variables with
@@ -55,5 +52,5 @@
     private void initializePlugin() {
     	System.out.println("Initialized Plugin...");
-        Shortcut shortcut = Shortcut.registerShortcut("OsmInspector", tr("Toggle: {0}", tr("Open OsmInspector")),
+        Shortcut.registerShortcut("OsmInspector", tr("Toggle: {0}", tr("Open OsmInspector")),
                 KeyEvent.VK_1, Shortcut.ALT_SHIFT);
         //String name = "Osm Inspector error reports";
