[nobub] fix some findbugs issues.
diff --git a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/XSLCorePlugin.java b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/XSLCorePlugin.java
index 7cfd502..560decc 100644
--- a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/XSLCorePlugin.java
+++ b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/XSLCorePlugin.java
@@ -41,8 +41,6 @@
 	
 	private SAXParserFactoryImpl saxParserFactory = null;
 
-	private BundleContext bundleContext;
-
 	/**
 	 * The constructor
 	 */
@@ -56,7 +54,6 @@
 	@Override
 	public void start(BundleContext context) throws Exception {
 		super.start(context);
-		bundleContext = context;
 		plugin = this;
 	}
 
diff --git a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/Debug.java b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/Debug.java
index 672ada5..fc81728 100755
--- a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/Debug.java
+++ b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/Debug.java
@@ -183,9 +183,11 @@
 	 */
 	private static String space(int depth) {
 		String result = "  "; //$NON-NLS-1$
+		StringBuffer buf = new StringBuffer(result);
 		for (int i = 0; i < depth; i++) {
-			result += "  "; //$NON-NLS-1$
+			buf.append("  "); //$NON-NLS-1$
 		}
+		result = buf.toString();
 		return result;
 	}
 
diff --git a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/XMLCatalog.java b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/XMLCatalog.java
index 8d5f575..6beafd1 100644
--- a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/XMLCatalog.java
+++ b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/internal/util/XMLCatalog.java
@@ -26,7 +26,6 @@
  * @since 1.1
  */
 public class XMLCatalog {
-    private CatalogSet catalogSet = new CatalogSet();
     
     protected ICatalog systemCatalog;