File tree 2 files changed +3
-2
lines changed
spring-context/src/main/java/org/springframework/jmx/support
spring-core/src/main/java/org/springframework/core/convert/support 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public enum RegistrationPolicy {
51
51
* available in {@link MBeanRegistrationSupport}.
52
52
*/
53
53
@ SuppressWarnings ("deprecation" )
54
- public static RegistrationPolicy valueOf (int registrationBehavior ) {
54
+ static RegistrationPolicy valueOf (int registrationBehavior ) {
55
55
switch (registrationBehavior ) {
56
56
case MBeanRegistrationSupport .REGISTRATION_IGNORE_EXISTING :
57
57
return RegistrationPolicy .IGNORE_EXISTING ;
Original file line number Diff line number Diff line change @@ -451,7 +451,8 @@ public void add(GenericConverter converter) {
451
451
Assert .state (converter instanceof ConditionalConverter ,
452
452
"Only conditional converters may return null convertible types" );
453
453
globalConverters .add (converter );
454
- } else {
454
+ }
455
+ else {
455
456
for (ConvertiblePair convertiblePair : convertibleTypes ) {
456
457
ConvertersForPair convertersForPair = getMatchableConverters (convertiblePair );
457
458
convertersForPair .add (converter );
You can’t perform that action at this time.
0 commit comments