Extraneous Thread.currentThread() for Thread.sleep().
Brought to you by:
matuschd
Summary: sleep is a static method which always
operates on the current thread. Therefore the call to
Thread.currentThread() is extraneous and unnecessary.
Impact: Very minor impact on performance.
Recommendation: Apply the attached patch to remove
the call to Thread.currentThread().
diff -r1.5 LimitedBandwidthStream.java
96c96
< Thread.currentThread().sleep(100);
---
> Thread.sleep(100);
Patch