singhpk234 commented on code in PR #4585:
URL: https://github.com/apache/iceberg/pull/4585#discussion_r853417779


##########
core/src/main/java/org/apache/iceberg/LocationProviders.java:
##########
@@ -160,7 +161,7 @@ private static String pathContext(String tableLocation) {
     }
   }
 
-  private static String stripTrailingSlash(String path) {
+  public static String stripTrailingSlash(String path) {

Review Comment:
   +1, was thinking, how about if we create a new util class let's say 
`LocationUtils` under iceberg.utils package, more such helper functions if 
required could be placed here.



-- 
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]

Reply via email to