ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs XSLTProcess.java
Date Sat, 06 Sep 2003 13:51:47 GMT
jhm         2003/09/06 06:51:47

  Modified:    src/main/org/apache/tools/ant/taskdefs XSLTProcess.java
  Log:
  Undo change made by accident ...
  
  Revision  Changes    Path
  1.74      +1 -10     ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
  
  Index: XSLTProcess.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- XSLTProcess.java	6 Sep 2003 08:50:20 -0000	1.73
  +++ XSLTProcess.java	6 Sep 2003 13:51:47 -0000	1.74
  @@ -226,9 +226,6 @@
                   ((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 @@
       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 @@
                   }
               }
           }
  -        cl = liaison.getClass();
           return liaison;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message