netty5/buffer/src
Idel Pivnitskiy 50a067a8f7 Make methods 'static' where it possible
Motivation:

Even if it's a super micro-optimization (most JVM could optimize such
 cases in runtime), in theory (and according to some perf tests) it
 may help a bit. It also makes a code more clear and allows you to
 access such methods in the test scope directly, without instance of
 the class.

Modifications:

Add 'static' modifier for all methods, where it possible. Mostly in
test scope.

Result:

Cleaner code with proper 'static' modifiers.
2017-10-21 14:59:26 +02:00
..
main/java/io/netty/buffer Fixes a javadoc for ByteBufUtil#copy method 2017-10-21 14:51:20 +02:00
test/java/io/netty/buffer Make methods 'static' where it possible 2017-10-21 14:59:26 +02:00