Skip to content

Commit

Permalink
Merge pull request #20588 from yrodiere/legacy-annotation-warning-for…
Browse files Browse the repository at this point in the history
…mat-error

Fix formatting of warnings for legacy beans annotated with @PersistenceUnit
  • Loading branch information
Sanne authored Oct 7, 2021
2 parents f3f29f6 + 0412890 commit 473acec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static <T> InjectableInstance<T> legacySingleExtensionInstanceForPersiste
+ " This is deprecated usage and will not work in future versions of Quarkus."
+ " Annotate this bean with @%2$s(\"%4$s\") instead of @%3$s(\"%4$s\") to make it future-proof.",
beanType.getName(), PersistenceUnitExtension.class.getSimpleName(),
PersistenceUnit.class.getSimpleName());
PersistenceUnit.class.getSimpleName(), persistenceUnitName);
}
}
}
Expand Down

0 comments on commit 473acec

Please sign in to comment.