mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-30 06:09:14 +00:00
Fix potential infinite recursive loop in toString
Closes gh-14152
This commit is contained in:
committed by
Stephane Nicoll
parent
b0d388830f
commit
6e86ba12b7
+1
-1
@@ -46,7 +46,7 @@ final class OriginTrackedFieldError extends FieldError implements OriginProvider
|
||||
@Override
|
||||
public String toString() {
|
||||
if (this.origin == null) {
|
||||
return toString();
|
||||
return super.toString();
|
||||
}
|
||||
return super.toString() + "; origin " + this.origin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user