Do not check dir.hasNext() twice
If the inner loop is not run, skipped will be 0 and the loop is left anyway.
parent
184bc28a
Please register or sign in to comment
If the inner loop is not run, skipped will be 0 and the loop is left anyway.