garydgregory commented on code in PR #827:
URL: https://github.com/apache/commons-io/pull/827#discussion_r2779822210
##########
src/main/java/org/apache/commons/io/file/CountingPathVisitor.java:
##########
@@ -311,7 +311,14 @@ protected void updateDirCounter(final Path dir, final
IOException exc) {
*/
protected void updateFileCounters(final Path file, final
BasicFileAttributes attributes) {
pathCounters.getFileCounter().increment();
- pathCounters.getByteCounter().add(attributes.size());
Review Comment:
Great documentation. This should be in the Javadoc of this method IMO.
--
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]