File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
engine/src/main/java/org/hibernate/validator Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
package org .hibernate .validator ;
8
8
9
- import java .util .Locale ;
10
9
import java .util .Set ;
11
10
12
11
/**
@@ -26,13 +25,6 @@ public interface PredefinedScopeHibernateValidatorConfiguration extends BaseHibe
26
25
@ Incubating
27
26
PredefinedScopeHibernateValidatorConfiguration initializeBeanMetaData (Set <Class <?>> beanClassesToInitialize );
28
27
29
- /**
30
- * @deprecated Planned for removal, use {@link BaseHibernateValidatorConfiguration#locales(Set)} instead.
31
- */
32
- @ Incubating
33
- @ Deprecated
34
- PredefinedScopeHibernateValidatorConfiguration initializeLocales (Set <Locale > locales );
35
-
36
28
/**
37
29
* Specify whether to append the {@link #builtinConstraints(Set) built-in constraints} and {@link #initializeBeanMetaData(Set) beans to initialize}
38
30
* with constraints and beans provided only through XML mapping.
Original file line number Diff line number Diff line change 6
6
*/
7
7
package org .hibernate .validator .internal .engine ;
8
8
9
- import static org .hibernate .validator .internal .util .logging .Messages .MESSAGES ;
10
-
11
9
import java .util .Collections ;
12
- import java .util .Locale ;
13
10
import java .util .Set ;
14
11
15
12
import jakarta .validation .spi .BootstrapState ;
18
15
19
16
import org .hibernate .validator .PredefinedScopeHibernateValidatorConfiguration ;
20
17
import org .hibernate .validator .internal .util .CollectionHelper ;
21
- import org .hibernate .validator .internal .util .Contracts ;
22
18
23
19
/**
24
20
* @author Guillaume Smet
@@ -64,14 +60,6 @@ public boolean isIncludeBeansAndConstraintsDefinedOnlyInXml() {
64
60
return includeBeansAndConstraintsDefinedOnlyInXml ;
65
61
}
66
62
67
- @ Override
68
- @ Deprecated
69
- public PredefinedScopeHibernateValidatorConfiguration initializeLocales (Set <Locale > localesToInitialize ) {
70
- Contracts .assertNotNull ( localesToInitialize , MESSAGES .parameterMustNotBeNull ( "localesToInitialize" ) );
71
- locales ( localesToInitialize );
72
- return thisAsT ();
73
- }
74
-
75
63
@ Override
76
64
public PredefinedScopeHibernateValidatorConfiguration includeBeansAndConstraintsDefinedOnlyInXml (boolean include ) {
77
65
this .includeBeansAndConstraintsDefinedOnlyInXml = include ;
You can’t perform that action at this time.
0 commit comments