Skip to content

Commit

Permalink
switch to `@Requires(resources = "classpath:org/hibernate/validator/V…
Browse files Browse the repository at this point in the history
…alidationMessages.properties")`
  • Loading branch information
kevin-wise committed Jun 20, 2024
1 parent e858b18 commit 78c8ffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import jakarta.inject.Singleton;

@Singleton
@Requires(bean = MicronautHibernateValidator.class)
@Requires(resources = "classpath:org/hibernate/validator/ValidationMessages.properties")
public class HibernateMessageBundle extends ResourceBundleMessageSource {
public HibernateMessageBundle() {
super("org.hibernate.validator.ValidationMessages");
Expand Down

0 comments on commit 78c8ffa

Please sign in to comment.