fixed warnings ... removed unused variables
git-svn-id: http://dev.eclipse.org/svnroot/technology/org.eclipse.stem/trunk/data@3522 92a21009-5b66-0410-b83a-dc787c41c6e9
diff --git a/geography/org.eclipse.stem.internal.data.geography/src/org/eclipse/stem/internal/data/geography/graphsynchronizer/WorldSubCountryPartitioningStats.java b/geography/org.eclipse.stem.internal.data.geography/src/org/eclipse/stem/internal/data/geography/graphsynchronizer/WorldSubCountryPartitioningStats.java
index f52cd88..81fce7f 100644
--- a/geography/org.eclipse.stem.internal.data.geography/src/org/eclipse/stem/internal/data/geography/graphsynchronizer/WorldSubCountryPartitioningStats.java
+++ b/geography/org.eclipse.stem.internal.data.geography/src/org/eclipse/stem/internal/data/geography/graphsynchronizer/WorldSubCountryPartitioningStats.java
@@ -174,13 +174,13 @@
public void mapCodes() {
String record;
- int recCount = 0;
+ // int recCount = 0;
BufferedReader d = null;
try {
d = new BufferedReader(new InputStreamReader(getInputStreamForURI(CODES_FILE_URI)));
while ( (record=d.readLine()) != null ) {
- recCount++;
+ // recCount++;
StringTokenizer st = new StringTokenizer(record );
@SuppressWarnings("unused")
diff --git a/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/DataUtility.java b/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/DataUtility.java
index 5129f55..3111a17 100644
--- a/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/DataUtility.java
+++ b/org.eclipse.stem.internal.data/src/org/eclipse/stem/internal/data/utility/DataUtility.java
@@ -59,6 +59,7 @@
/**
* This Method scans STEM property files and runs various optional tests
*/
+ @SuppressWarnings("unused")
static void scanFiles(int option) {
String record;
@@ -147,7 +148,7 @@
* @param file
*/
private static void checkAreas(File file) {
- int recCount = 0;
+ //int recCount = 0;
double areaTotal = 0.0;
String record;
@@ -157,7 +158,7 @@
while ((record = reader.readLine()) != null) {
// System.out.println(""+name+": "+record);
- recCount++;
+ // recCount++;
if (record.indexOf(ADMIN_LEVEL) == -1) {
if (record.indexOf("= 0") >= 1) {
@@ -200,7 +201,7 @@
*/
private static void checkDuplicates(File file) {
- int recCount = 0;
+ // int recCount = 0;
Set<String> keySet = new HashSet<String>();
Set<String> duplicateSet = new HashSet<String>();
String record;
@@ -211,7 +212,7 @@
while ((record = reader.readLine()) != null) {
// System.out.println(""+name+": "+record);
- recCount++;
+ // recCount++;
if (record.indexOf(ADMIN_LEVEL) == -1) {
if (record.indexOf("= 0") >= 1) {