Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zzz40500 committed Feb 22, 2017
1 parent 538febc commit 7be0da1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class SourceProcessor implements IProcessor {
private Map<String, String> classMap = new HashMap<>();
private Map<String, String> sourceMap = new HashMap<>();

SourceProcessor(final Project project) {
public SourceProcessor(final Project project) {
classMapFile = new File(project.getBuildDir().getAbsolutePath() + "/intermediates/java-overlay/classMap");
if (!classMapFile.getParentFile().exists()) {
classMapFile.getParentFile().mkdirs();
Expand All @@ -38,7 +38,7 @@ public class SourceProcessor implements IProcessor {
}

public void getLocalClassMap() {
TextFileUtils.visit(new File(file), new TextFileUtils.TextVisitor() {
TextFileUtils.visit(classMapFile, new TextFileUtils.TextVisitor() {
@Override
void visit(final String line) {
String[] info = line.split(":");
Expand Down

0 comments on commit 7be0da1

Please sign in to comment.