jtar icon indicating copy to clipboard operation
jtar copied to clipboard

Replace StringBuffer usages with StringBuilder

Open dustinkredmond opened this issue 3 years ago • 0 comments

For better thread safety going forward. Replace usage of StringBuffer with StringBuilder.

Also, while working in TarEntry.java I took the liberty of fixing the danling javadoc comment, switched to the more modern enhanced for loop where applicable and changed the below for loop to a while loop for better readability.

  • for (; offset < outbuf.length;)
  • while (offset < outbuf.length)

dustinkredmond avatar Oct 01 '20 15:10 dustinkredmond