Skip to content

Commit 2015f53

Browse files
committed
updates after code review
1 parent 298899c commit 2015f53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/MessageSourceAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ public MessageSource messageSource(MessageSourceProperties properties) {
9595
messageSource.setCommonMessages(commonProperties);
9696
}
9797
}
98-
catch (IOException e) {
99-
throw new UncheckedIOException("Failed to load common messages", e);
98+
catch (IOException ex) {
99+
throw new UncheckedIOException("Failed to load common messages", ex);
100100
}
101101
return messageSource;
102102
}

0 commit comments

Comments
 (0)