apurtell commented on code in PR #4643: URL: https://github.com/apache/hbase/pull/4643#discussion_r929370965
########## hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/util/BackupUtils.java: ########## @@ -594,8 +598,10 @@ public int compare(BackupInfo o1, BackupInfo o2) { } private long getTimestamp(String backupId) { - String[] split = backupId.split("_"); - return Long.parseLong(split[1]); + Iterator<String> i = Splitter.on('_').split(backupId).iterator(); Review Comment: I see this as recurring feedback, got it. Will apply this pattern to these things. There are other cases in other modules where the same change is appropriate. -- 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...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org