dimas-b commented on code in PR #2007:
URL: https://github.com/apache/polaris/pull/2007#discussion_r2195879000
##########
polaris-core/src/main/java/org/apache/polaris/core/config/PolarisConfiguration.java:
##########
@@ -124,6 +124,18 @@ T cast(Object value) {
return this.typ.cast(value);
}
+ public String key() {
+ return key;
+ }
+
+ public String description() {
+ return description;
+ }
+
+ public T defaultValue() {
+ return defaultValue;
+ }
Review Comment:
> I don't see how a method call that returns a field can possibly make
debugging easier than just having the field be accessed.
Break points on a field do not work well in my experience (e.g. they do not
catch reflected access, IIRC).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]