From 9c4a9342d6b9d2ef3bfe47269628acc557fd86e3 Mon Sep 17 00:00:00 2001 From: David Haxton Date: Mon, 24 Feb 2020 12:25:00 -0800 Subject: [PATCH] Clean up lingering srcs --- .../coverage/instrumenter/JacocoInstrumenter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/io/bazel/rulesscala/coverage/instrumenter/JacocoInstrumenter.java b/src/java/io/bazel/rulesscala/coverage/instrumenter/JacocoInstrumenter.java index 31ec618c29..9eafb4d48c 100644 --- a/src/java/io/bazel/rulesscala/coverage/instrumenter/JacocoInstrumenter.java +++ b/src/java/io/bazel/rulesscala/coverage/instrumenter/JacocoInstrumenter.java @@ -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 () { @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")) {