yakovsh commented on code in PR #441:
URL: https://github.com/apache/commons-compress/pull/441#discussion_r1408292060
##########
src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java:
##########
@@ -1634,19 +1627,19 @@ private void processPaxHeader(final String key, final
String val, final Map<Stri
setLinkName(val);
break;
case "gid":
- setGroupId(Long.parseLong(val));
+ setGroupId(ParsingUtils.parseLongValue(val, 10));
Review Comment:
I split them and updated the code. It does increase the overall public API
footprint. The magic number "10" comes from the
Long.parseLong()/Integer.parseInt() methods.
--
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]