Skip to content

Commit 000b563

Browse files
committed
Use consistent formatting for view name in AbstractView
1 parent c571ee1 commit 000b563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/view/AbstractView.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -495,7 +495,7 @@ public String toString() {
495495
}
496496

497497
protected String formatViewName() {
498-
return (getBeanName() != null ? "name '" + getBeanName() + "'" : "[" + getClass().getSimpleName() + "]");
498+
return (getBeanName() != null ? "name [" + getBeanName() + "]" : "[" + getClass().getSimpleName() + "]");
499499
}
500500

501501
}

0 commit comments

Comments
 (0)