From 6f5e89efb6123f874cbb8115023df67d5a1a5db5 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Sat, 6 Sep 2003 13:51:47 +0000 Subject: [PATCH] Undo change made by accident ... git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275193 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java index 7491603e4..5b251cac3 100644 --- a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java +++ b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java @@ -226,9 +226,6 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { ((XSLTLoggerAware) liaison).setLogger(this); } - Class cl = liaison.getClass(); - String s = cl.toString(); - log("Using " + liaison.getClass().toString(), Project.MSG_VERBOSE); File stylesheet = getProject().resolveFile(xslFile); @@ -569,27 +566,22 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { protected XSLTLiaison getLiaison() { // if processor wasn't specified, see if TraX is available. If not, // default it to xslp or xalan, depending on which is in the classpath - Class cl = null; if (liaison == null) { if (processor != null) { try { resolveProcessor(processor); - cl = liaison.getClass(); } catch (Exception e) { throw new BuildException(e); } } else { try { resolveProcessor("trax"); - cl = liaison.getClass(); } catch (Throwable e1) { try { resolveProcessor("xalan"); - cl = liaison.getClass(); } catch (Throwable e2) { try { resolveProcessor("xslp"); - cl = liaison.getClass(); } catch (Throwable e3) { e3.printStackTrace(); e2.printStackTrace(); @@ -599,7 +591,6 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { } } } - cl = liaison.getClass(); return liaison; }