tandraschko commented on code in PR #147: URL: https://github.com/apache/deltaspike/pull/147#discussion_r1494524740
########## deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/RepositoryExtension.java: ########## @@ -90,6 +90,11 @@ else if (isRepository(event.getAnnotatedType())) LOG.log(Level.FINER, "Class {0} is Deactivated", repositoryClass); return; } + if (repositoryClass.getDeclaredAnnotation(Repository.class) == null) Review Comment: the outer if should already exact do this code ########## deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/RepositoryExtension.java: ########## @@ -90,6 +90,11 @@ else if (isRepository(event.getAnnotatedType())) LOG.log(Level.FINER, "Class {0} is Deactivated", repositoryClass); return; } + if (repositoryClass.getDeclaredAnnotation(Repository.class) == null) Review Comment: the outer if should already exact do this check in #isRepository -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@deltaspike.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org