dramaticlly commented on code in PR #11437:
URL: https://github.com/apache/iceberg/pull/11437#discussion_r1825260078
##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -486,6 +489,10 @@ public int propertyAsInt(String property, int
defaultValue) {
return PropertyUtil.propertyAsInt(properties, property, defaultValue);
}
+ public int propertyTryAsInt(String property, int defaultValue) {
+ return NumberUtils.toInt(property, defaultValue);
Review Comment:
Removed and changed to something similar in PropertyUtil, but I do realize
that we have a few places use the StringUtil from `apache.commons.lang3` per
https://github.com/search?q=repo%3Aapache%2Ficeberg%20import%20org.apache.commons.lang3&type=code,
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]