diff --git a/src/main/org/apache/tools/ant/util/OutputStreamFunneler.java b/src/main/org/apache/tools/ant/util/OutputStreamFunneler.java
index 08ca8566c..177d0c0d7 100755
--- a/src/main/org/apache/tools/ant/util/OutputStreamFunneler.java
+++ b/src/main/org/apache/tools/ant/util/OutputStreamFunneler.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation
+ * Copyright 2004-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,6 @@ package org.apache.tools.ant.util;
import java.io.IOException;
import java.io.OutputStream;
-import java.io.FilterOutputStream;
/**
* Manages a set of OutputStreams to
@@ -35,7 +34,7 @@ public class OutputStreamFunneler {
*/
public static final long DEFAULT_TIMEOUT_MILLIS = 1000;
- private class Funnel extends OutputStream {
+ private final class Funnel extends OutputStream {
private boolean closed = false;
private Funnel() {
@@ -126,6 +125,7 @@ public class OutputStreamFunneler {
* write to this OutputStreamFunneler's underlying
* OutputStream.
* @return OutputStream.
+ * @throws IOException if unable to create the funnel.
*/
public synchronized OutputStream getFunnelInstance()
throws IOException {