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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to