tandraschko commented on code in PR #147:
URL: https://github.com/apache/deltaspike/pull/147#discussion_r1494523800


##########
deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/meta/EntityMetadataInitializer.java:
##########
@@ -45,6 +49,10 @@ public EntityMetadata init(RepositoryMetadata metadata)
     
     private EntityMetadata extract(Class<?> repositoryClass)
     {
+        if (!repositoryClass.isAnnotationPresent(Repository.class)) 

Review Comment:
   couldn't you just switch to
   ```
   if (respository == null) {
      return null;
   }
   ```
   in next line?



-- 
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

Reply via email to