Skip to content

Commit e991a42

Browse files
committed
fix to code generation for Jakarta Data delete() method
1 parent 4330fb7 commit e991a42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaDeleteMethod.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ String specificationType() {
8686

8787
private void execute(StringBuilder declaration) {
8888
declaration
89-
.append("\t\t\t.executeUpdate()");
90-
if ( isReactive() ) {
91-
if ( fullReturnType.endsWith("<java.lang.Void>") ) {}
89+
.append(".executeUpdate()");
90+
if ( isReactive()
91+
&& fullReturnType.endsWith("<java.lang.Void>") ) {
9292
declaration
93-
.append(".replaceWithVoid()");
93+
.append( ".replaceWithVoid()" );
9494
}
9595
}
9696

0 commit comments

Comments
 (0)