Skip to content

Commit

Permalink
Update to latest rewrite core
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Sep 12, 2021
1 parent 0f09e59 commit 4b3322e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ public J.MethodInvocation visitMethodInvocation(J.MethodInvocation method, Execu
if (GET_ENTITY_MANAGER.matches(method)) {
String selectType = getSelectTypeFQ(method);
if (selectType != null) {
doAfterVisit(new ChangeMethodTargetToStatic("io.quarkus.hibernate.orm.panache.PanacheEntityBase getEntityManager()", selectType, null));
doAfterVisit(new ChangeMethodTargetToStatic("io.quarkus.hibernate.orm.panache.PanacheEntityBase getEntityManager()", selectType, null, null));
}
} else if (FLUSH.matches(method)) {
String selectType = getSelectTypeFQ(method);
if (selectType != null) {
doAfterVisit(new ChangeMethodTargetToStatic("io.quarkus.hibernate.orm.panache.PanacheEntityBase flush()", selectType, null));
doAfterVisit(new ChangeMethodTargetToStatic("io.quarkus.hibernate.orm.panache.PanacheEntityBase flush()", selectType, null, null));
}
}

Expand Down

0 comments on commit 4b3322e

Please sign in to comment.