Browse Source

Merge pull request #20992 from mikaelparsekyan

* pr/20992:
  Polish ApplicationHome

Closes gh-20992
pull/21130/head
Stephane Nicoll 6 years ago
parent
commit
f0d4192df9
  1. 3
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/system/ApplicationHome.java

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

@ -96,11 +96,10 @@ public class ApplicationHome { @@ -96,11 +96,10 @@ public class ApplicationHome {
if (source != null && source.exists() && !isUnitTest()) {
return source.getAbsoluteFile();
}
return null;
}
catch (Exception ex) {
return null;
}
return null;
}
private boolean isUnitTest() {

Loading…
Cancel
Save