[jbosstools-commits] JBoss Tools SVN: r42748 - trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/runtime.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Jul 27 00:45:59 EDT 2012


Author: rob.stryker at jboss.com
Date: 2012-07-27 00:45:58 -0400 (Fri, 27 Jul 2012)
New Revision: 42748

Modified:
   trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/runtime/RuntimeKey.java
Log:
JBIDE-12377 unused internal code removed. A usage scan on all of jbt reveals these methods (getter/setter) are unused. The RuntimeKey is used only for .equals and hashcode methods to ensure a unique RuntimeKey

Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/runtime/RuntimeKey.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/runtime/RuntimeKey.java	2012-07-27 04:41:22 UTC (rev 42747)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/runtime/RuntimeKey.java	2012-07-27 04:45:58 UTC (rev 42748)
@@ -23,30 +23,6 @@
 		this.id = id;
 	}
 
-	public IPath getLocation() {
-		return location;
-	}
-
-	public void setLocation(IPath location) {
-		this.location = location;
-	}
-
-	public IPath getConfigPath() {
-		return configPath;
-	}
-
-	public void setConfigPath(IPath configPath) {
-		this.configPath = configPath;
-	}
-
-	public String getId() {
-		return id;
-	}
-
-	public void setId(String id) {
-		this.id = id;
-	}
-
 	@Override
 	public int hashCode() {
 		final int prime = 31;



More information about the jbosstools-commits mailing list