Skip to content

Commit

Permalink
Merge pull request mockito#223 from alberskib:issue206
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed Jun 6, 2015
2 parents 528dbad + c83de87 commit 84fdfab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/org/mockitoutil/ClassLoaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ private boolean excludes(String qualifiedName, Set<String> packageFilters) {
}

private String classNameFor(File root, File file) {
String temp = file.getAbsolutePath().substring(root.getAbsolutePath().length() + 1).replace('/', '.');
String temp = file.getAbsolutePath().substring(root.getAbsolutePath().length() + 1).
replace(File.separatorChar, '.');
return temp.subSequence(0, temp.indexOf(".class")).toString();
}

Expand Down

0 comments on commit 84fdfab

Please sign in to comment.