Skip to content

Commit 750903f

Browse files
johnaoharabrmeyer
authored andcommitted
HHH-8106 Fixed bug with Enhancement Task
1 parent 504f430 commit 750903f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/tool/enhance/EnhancementTask.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private void processClassFile(File javaClassFile) {
140140

141141
private boolean shouldInclude(CtClass ctClass) {
142142
// we currently only handle entity enhancement
143-
return ! ctClass.hasAnnotation( Entity.class );
143+
return ctClass.hasAnnotation( Entity.class );
144144
}
145145

146146

0 commit comments

Comments
 (0)