Skip to content

Commit

Permalink
Fix #4 (keep old replacing)
Browse files Browse the repository at this point in the history
  • Loading branch information
tminglei committed Nov 8, 2016
1 parent 98cc4c9 commit b4a577e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static List<String> scan(Class<?> loaderClazz, String pkgOrClassName) thr
}

return result.stream().map(
n -> n.replaceAll("\\.class$", "").replace("/", ".")
n -> n.replaceAll("\\.class$", "").replace(File.separator, ".").replace("/", ".")
).collect(Collectors.toList());
}

Expand Down

0 comments on commit b4a577e

Please sign in to comment.