Skip to content

Commit

Permalink
Removed the unnecessary null check block
Browse files Browse the repository at this point in the history
Signed-off-by: jansupol <[email protected]>
  • Loading branch information
jansupol committed May 7, 2021
1 parent a468507 commit 673f9d5
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ public void destroy(ValidationInterceptor instance,
}

/* package */ Cache<Class<?>, Boolean> getJaxRsResourceCache() {
/* CDI injection hack */
if (jaxRsResourceCache == null) {
jaxRsResourceCache = new Cache<>(clazz -> Resource.from(clazz) != null);
}
return jaxRsResourceCache;
}
}

0 comments on commit 673f9d5

Please sign in to comment.