Skip to content

Commit

Permalink
update resty-server to scan classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreampie committed Sep 9, 2016
1 parent 8aa7187 commit d612dbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@ private Set<String> findInJarFiles(JarFile localJarFile, String packageName) {
}

public Scaner include(String... pathOrPackages) {
checkNotNull(pathOrPackages, "File packages could not be null.");
checkNotNull(pathOrPackages, "File path or packages could not be null.");
Collections.addAll(includePathOrPackages, pathOrPackages);
return this;
}

public Scaner include(Set<String> pathOrPackages) {
checkNotNull(pathOrPackages, "File packages could not be null.");
checkNotNull(pathOrPackages, "File path or packages could not be null.");
for (String pkg : pathOrPackages) {
this.includePathOrPackages.add(pkg);
}
Expand Down

0 comments on commit d612dbd

Please sign in to comment.