peterdemaeyer commented on code in PR #827:
URL: https://github.com/apache/commons-io/pull/827#discussion_r2795472789
##########
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:
I followed your advice and promoted it to JavaDoc.
--
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]