Skip to content

Commit

Permalink
[RESTEASY-1922] Exclude interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
asoldano committed Jul 11, 2018
1 parent abd10de commit 1b3870b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void onStartup(Set<Class<?>> classes, ServletContext servletContext) thro

for (Class<?> clazz : classes)
{
if (ignoredPackages.contains(clazz.getPackage().getName())) continue;
if (clazz.isInterface() || ignoredPackages.contains(clazz.getPackage().getName())) continue;
if (clazz.isAnnotationPresent(Path.class))
{
resources.add(clazz);
Expand Down

0 comments on commit 1b3870b

Please sign in to comment.