Skip to content

Commit

Permalink
Clean up lingering srcs
Browse files Browse the repository at this point in the history
  • Loading branch information
David Haxton committed Feb 24, 2020
1 parent acaa155 commit 9c4a934
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ private void processArg(Instrumenter jacoco, String arg) throws Exception {
}
}

private SimpleFileVisitor createInstrumenterVisitor(Instrumenter jacoco, FileSystem outFS, String srcs) {
private SimpleFileVisitor createInstrumenterVisitor(Instrumenter jacoco, FileSystem outFS) {
return new SimpleFileVisitor <Path> () {
@Override
public FileVisitResult visitFile(Path inPath, BasicFileAttributes attrs) {
try {
return actuallyVisitFile(inPath, attrs, srcs);
return actuallyVisitFile(inPath, attrs);
} catch (final Exception e) {
throw new RuntimeException(e);
}
}

private FileVisitResult actuallyVisitFile(Path inPath, BasicFileAttributes attrs, String srcs) throws Exception {
private FileVisitResult actuallyVisitFile(Path inPath, BasicFileAttributes attrs) throws Exception {
Path outPath = outFS.getPath(inPath.toString());
Files.createDirectories(outPath.getParent());
if (inPath.toString().endsWith(".class")) {
Expand Down

0 comments on commit 9c4a934

Please sign in to comment.