You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/TransactionManagerCustomizers.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,8 @@ public void customize(TransactionManager transactionManager) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletPath.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ default String getPrefix() {
74
74
* @return the path as a servlet URL mapping
75
75
*/
76
76
defaultStringgetServletUrlMapping() {
77
-
if (getPath().equals("") || getPath().equals("/")) {
77
+
if (getPath().isEmpty() || getPath().equals("/")) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -237,7 +237,7 @@ public void setLoadOnStartup(int loadOnStartup) {
237
237
}
238
238
239
239
publicStringgetServletMapping() {
240
-
if (this.path.equals("") || this.path.equals("/")) {
240
+
if (this.path.isEmpty() || this.path.equals("/")) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatWebServer.java
0 commit comments