Browse Source

checkstyle

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277303 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
875e8f9029
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/main/org/apache/tools/ant/taskdefs/Untar.java

+ 5
- 1
src/main/org/apache/tools/ant/taskdefs/Untar.java View File

@@ -76,7 +76,8 @@ public class Untar extends Expand {

/**
* No encoding support in Untar.
*
* @param encoding not used
* @throws BuildException always
* @since Ant 1.6
*/
public void setEncoding(String encoding) {
@@ -85,6 +86,9 @@ public class Untar extends Expand {
+ " attribute", getLocation());
}

/**
* @see Expand#expandFile(FileUtils, File, File)
*/
protected void expandFile(FileUtils fileUtils, File srcF, File dir) {
TarInputStream tis = null;
try {


Loading…
Cancel
Save