[329094] Cleanup unread fields/variables that are only incremented/decremented
diff --git a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/search/OccurrencesContentProvider.java b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/search/OccurrencesContentProvider.java
index 274c9b6..7a8f26a 100644
--- a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/search/OccurrencesContentProvider.java
+++ b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/search/OccurrencesContentProvider.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2001, 2009 IBM Corporation and others.
+ * Copyright (c) 2001, 2010 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -42,18 +42,14 @@
 	public void elementsChanged(Object[] updatedElements) {
 
 		//TODO: copied from JavaSearchTableContentProvider
-		int addCount = 0;
-		int removeCount = 0;
 		for (int i = 0; i < updatedElements.length; i++) {
 			if (this.fResult.getMatchCount(updatedElements[i]) > 0) {
 				if (this.fTableViewer.testFindItem(updatedElements[i]) != null)
 					this.fTableViewer.refresh(updatedElements[i]);
 				else
 					this.fTableViewer.add(updatedElements[i]);
-				addCount++;
 			} else {
 				this.fTableViewer.remove(updatedElements[i]);
-				removeCount++;
 			}
 		}
 	}
diff --git a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/LazyURLInputStream.java b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/LazyURLInputStream.java
index 834cb0b..2498b50 100644
--- a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/LazyURLInputStream.java
+++ b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/core/LazyURLInputStream.java
@@ -22,7 +22,7 @@
  */
 public class LazyURLInputStream extends InputStream
 {  
-  private static int debugTotalOpenStreamCount = 0; 
+  static int debugTotalOpenStreamCount = 0; 
   protected InputStream inner;
   protected String url;
   protected boolean error;