Compilation error.
@@ -7,7 +7,6 @@ import org.apache.tools.ant.types.FileSet;
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
-import java.io.InterruptedIOException;
import java.io.Serializable;
import static hudson.Util.fixEmpty;
@@ -31,7 +30,6 @@ public abstract class DirScanner implements Serializable {
*/
protected final void scanSingle(File f, String relative, FileVisitor visitor) throws IOException {
if (visitor.understandsSymlink()) {
- try {
String target;
try {
target = Util.resolveSymlink(f);
@@ -42,9 +40,6 @@ public abstract class DirScanner implements Serializable {
visitor.visitSymlink(f, target, relative);
return;
}
- } catch (InterruptedException e) {
- throw (IOException) new InterruptedIOException().initCause(e);
- }
}
visitor.visit(f, relative);
}
