From 2870e59a511c0c6b083096b2f6e4f5d8e180951e Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Sat, 10 Mar 2001 01:11:15 +0000 Subject: [PATCH] Backing out change... ---------------------------------------------------------------------- git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268799 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java index 5ca4fec06..91732376b 100644 --- a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java +++ b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java @@ -216,8 +216,8 @@ public class XSLTProcess extends MatchingTask { /** * Sets the file to use for styling relative to the base directory. */ - public void setStyle(File xslFile) { - this.xslFile = xslFile; + public void setStyle(String xslFile) { + this.xslFile = new File(xslFile); } /**