git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270829 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -32,7 +32,6 @@ import org.apache.avalon.excalibur.io.IOUtil; | |||||
| * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | ||||
| * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a> | * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a> | ||||
| */ | */ | ||||
| public class Tar | public class Tar | ||||
| extends MatchingTask | extends MatchingTask | ||||
| { | { | ||||
| @@ -304,9 +303,7 @@ public class Tar | |||||
| } | } | ||||
| finally | finally | ||||
| { | { | ||||
| if( input != null ) { | |||||
| input.close(); | |||||
| } | |||||
| IOUtil.shutdownStream( input ); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -32,7 +32,6 @@ import org.apache.avalon.excalibur.io.IOUtil; | |||||
| * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | ||||
| * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a> | * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a> | ||||
| */ | */ | ||||
| public class Tar | public class Tar | ||||
| extends MatchingTask | extends MatchingTask | ||||
| { | { | ||||
| @@ -304,9 +303,7 @@ public class Tar | |||||
| } | } | ||||
| finally | finally | ||||
| { | { | ||||
| if( input != null ) { | |||||
| input.close(); | |||||
| } | |||||
| IOUtil.shutdownStream( input ); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||