From c653fb30690000a5abfb53aec967eb5c14722920 Mon Sep 17 00:00:00 2001 From: Kevin Jackson Date: Thu, 28 Sep 2006 03:44:19 +0000 Subject: [PATCH] - fix broken build - change to ConcatResourceInputStream wasn't completed here in Concat git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450679 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Concat.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Concat.java b/src/main/org/apache/tools/ant/taskdefs/Concat.java index c6558ccce..c5f123737 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Concat.java +++ b/src/main/org/apache/tools/ant/taskdefs/Concat.java @@ -483,12 +483,8 @@ public class Concat extends Task { throw new BuildException("Unable to open " + destinationFile + " for writing", t); } - try { - in = new ConcatResourceInputStream(c); - ((ConcatResourceInputStream) in).setManagingComponent(this); - } catch (IOException e) { - throw new BuildException(e); - } + in = new ConcatResourceInputStream(c); + ((ConcatResourceInputStream) in).setManagingComponent(this); Thread t = new Thread(new StreamPumper(in, out)); t.start(); try {