Applying part of patch in XALANJ-2061.
Dropping a simple variable assignment to 
a variable that is never used.
diff --git a/src/org/apache/xalan/xsltc/compiler/ApplyImports.java b/src/org/apache/xalan/xsltc/compiler/ApplyImports.java
index 772880a..8477b19 100644
--- a/src/org/apache/xalan/xsltc/compiler/ApplyImports.java
+++ b/src/org/apache/xalan/xsltc/compiler/ApplyImports.java
@@ -21,13 +21,9 @@
 
 package org.apache.xalan.xsltc.compiler;
 
-import java.util.Enumeration;
-
 import org.apache.bcel.generic.ConstantPoolGen;
-import org.apache.bcel.generic.INVOKESPECIAL;
 import org.apache.bcel.generic.INVOKEVIRTUAL;
 import org.apache.bcel.generic.InstructionList;
-import org.apache.bcel.generic.NEW;
 import org.apache.xalan.xsltc.compiler.util.ClassGenerator;
 import org.apache.xalan.xsltc.compiler.util.MethodGenerator;
 import org.apache.xalan.xsltc.compiler.util.Type;
@@ -87,9 +83,6 @@
 	_modeName = template.getModeName();
 	_precedence = template.getImportPrecedence();
 
-	// Get the method name for <xsl:apply-imports/> in this mode
-	stylesheet = parser.getTopLevelStylesheet();
-
 	parseChildren(parser);	// with-params
     }