Skip to content

Commit c06edbe

Browse files
mikaelparsekyansnicoll
authored andcommitted
Polish ApplicationHome
See gh-20992
1 parent 076a384 commit c06edbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/system/ApplicationHome.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,10 @@ private File findSource(Class<?> sourceClass) {
9696
if (source != null && source.exists() && !isUnitTest()) {
9797
return source.getAbsoluteFile();
9898
}
99-
return null;
10099
}
101100
catch (Exception ex) {
102-
return null;
103101
}
102+
return null;
104103
}
105104

106105
private boolean isUnitTest() {

0 commit comments

Comments
 (0)