fixed warnings ... removed unused variables

git-svn-id: http://dev.eclipse.org/svnroot/technology/org.eclipse.stem/trunk/data@3523 92a21009-5b66-0410-b83a-dc787c41c6e9
diff --git a/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/CenterReader.java b/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/CenterReader.java
index a1fd19a..429fded 100644
--- a/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/CenterReader.java
+++ b/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/CenterReader.java
@@ -90,6 +90,7 @@
 	 * for testing

 	 * @param args

 	 */

+	@SuppressWarnings("unused")

 	public static void main(String[] args) {

 		CenterReader cr = new CenterReader();

 	}

diff --git a/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/PluginCenterReader.java b/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/PluginCenterReader.java
index d558bf8..1037a99 100644
--- a/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/PluginCenterReader.java
+++ b/geography/org.eclipse.stem.data.geography/src/org/eclipse/stem/data/geography/centers/PluginCenterReader.java
@@ -14,7 +14,6 @@
 import java.util.Map;

 import java.util.StringTokenizer;

 

-import org.eclipse.core.runtime.Path;

 import org.eclipse.core.runtime.Platform;

 import org.eclipse.stem.data.geography.Activator;

 import org.eclipse.stem.data.geography.GeographicMapper;

@@ -85,8 +84,9 @@
 	/**

 	 * @param args

 	 */

+	@SuppressWarnings("unused")

 	public static void main(String[] args) {

-		PluginCenterReader cr = new PluginCenterReader();

+		PluginCenterReader pcr = new PluginCenterReader();

 	}

 	

 	/**

@@ -185,7 +185,7 @@
 	 */

 	static protected void getAllCenterFileNames() {

 		try {

-			Path p = new Path(DATA_PATH);

+			//Path p = new Path(DATA_PATH);

 			Enumeration<URL> allFiles = geoBundle.findEntries(DATA_PATH, "*.properties", false); //$NON-NLS-1$ 

 			

 			URL[] dataFiles = filterAndSortFiles(allFiles);

@@ -257,7 +257,7 @@
 	 */

 	public double getLatitude(String id) {

 		if(regionCentersMap.containsKey(id)) {

-			String center = this.regionCentersMap.get(id); 

+			String center = regionCentersMap.get(id); 

 			StringTokenizer tokenizer = new StringTokenizer(center, ","); //$NON-NLS-1$ 

 			String lat = tokenizer.nextToken().trim();

 			double latVal = (new Double(lat)).doubleValue();

diff --git a/geography/org.eclipse.stem.internal.data.geography.infrastructure.transportation/src/org/eclipse/stem/internal/data/geography/infrastructure/transportation/specifications/AirTransportationGeographicRelationshipPropertyFileSpecification.java b/geography/org.eclipse.stem.internal.data.geography.infrastructure.transportation/src/org/eclipse/stem/internal/data/geography/infrastructure/transportation/specifications/AirTransportationGeographicRelationshipPropertyFileSpecification.java
index b267a5e..46722c6 100644
--- a/geography/org.eclipse.stem.internal.data.geography.infrastructure.transportation/src/org/eclipse/stem/internal/data/geography/infrastructure/transportation/specifications/AirTransportationGeographicRelationshipPropertyFileSpecification.java
+++ b/geography/org.eclipse.stem.internal.data.geography.infrastructure.transportation/src/org/eclipse/stem/internal/data/geography/infrastructure/transportation/specifications/AirTransportationGeographicRelationshipPropertyFileSpecification.java
@@ -341,7 +341,7 @@
 	private URI createRelationshipURI(String segment,

 			AirTransportGeographicRelationshipPropertyData propertyData,

 			URI fromURI, URI toURI) {

-		final GeographicRelationshipPropertyData geoRelationshipPropertyData = (GeographicRelationshipPropertyData) propertyData;

+		// final GeographicRelationshipPropertyData geoRelationshipPropertyData = (GeographicRelationshipPropertyData) propertyData;

 		final StringBuilder sb = new StringBuilder(segment);

 		sb.append("/"); //$NON-NLS-1$

 		sb.append("relationship"); //$NON-NLS-1$

diff --git a/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/NeighborUtility.java b/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/NeighborUtility.java
index a251c8f..a2de638 100644
--- a/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/NeighborUtility.java
+++ b/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/NeighborUtility.java
@@ -792,7 +792,7 @@
 		 * into a properties file.
 		 */
 		final List<String[]> outlist = new ArrayList<String[]>(4000);
-		int counter = 0;
+		//int counter = 0;
 		String[] entry = null;
 
 		final Set<String> set1 = map1.keySet();
diff --git a/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/PolygonCenterGenerator.java b/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/PolygonCenterGenerator.java
index 8053588..3738243 100644
--- a/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/PolygonCenterGenerator.java
+++ b/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/PolygonCenterGenerator.java
@@ -378,10 +378,10 @@
 			ArrayList<String> lvl2Keys = new ArrayList<String>();
 			
 			Iterator<String> iter = map.keySet().iterator();
-			int icount = 0;
+			// int icount = 0;
 			// sort the keys by admin level
 			while((iter!=null)&&(iter.hasNext())) {
-				icount ++;
+				// icount ++;
 				String id = iter.next();
 				if(id.indexOf("-")==-1) {
 					lvl0Keys.add(id);