Skip to content

Commit 79b98c9

Browse files
committed
Add ConfigurationProperty.toString() for debugging
Update `ConfigurationProperty` with a sensible `toString()` to help debug task failures.
1 parent ca08664 commit 79b98c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationProperty.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,9 @@ public boolean isDeprecated() {
6565
return this.deprecated;
6666
}
6767

68+
@Override
69+
public String toString() {
70+
return "ConfigurationProperty [name=" + this.name + ", type=" + this.type + "]";
71+
}
72+
6873
}

0 commit comments

Comments
 (0)