@@ -143,7 +143,7 @@ public void equalBuffers() {
143143 /**
144144 * Tests {@link ByteArrayProxy}.
145145 */
146- private static class ByteArrayRunner implements ComparatorRunner {
146+ private static final class ByteArrayRunner implements ComparatorRunner {
147147
148148 @ Override
149149 public int compare (final byte [] o1 , final byte [] o2 ) {
@@ -155,7 +155,7 @@ public int compare(final byte[] o1, final byte[] o2) {
155155 /**
156156 * Tests {@link ByteBufferProxy}.
157157 */
158- private static class ByteBufferRunner implements ComparatorRunner {
158+ private static final class ByteBufferRunner implements ComparatorRunner {
159159
160160 @ Override
161161 public int compare (final byte [] o1 , final byte [] o2 ) {
@@ -199,7 +199,7 @@ private ByteBuffer arrayToBuffer(final byte[] arr, final int bufferCapacity) {
199199 /**
200200 * Tests {@link DirectBufferProxy}.
201201 */
202- private static class DirectBufferRunner implements ComparatorRunner {
202+ private static final class DirectBufferRunner implements ComparatorRunner {
203203
204204 @ Override
205205 public int compare (final byte [] o1 , final byte [] o2 ) {
@@ -213,7 +213,7 @@ public int compare(final byte[] o1, final byte[] o2) {
213213 /**
214214 * Tests using Guava's {@link SignedBytes} comparator.
215215 */
216- private static class GuavaSignedBytes implements ComparatorRunner {
216+ private static final class GuavaSignedBytes implements ComparatorRunner {
217217
218218 @ Override
219219 public int compare (final byte [] o1 , final byte [] o2 ) {
@@ -225,7 +225,7 @@ public int compare(final byte[] o1, final byte[] o2) {
225225 /**
226226 * Tests using Guava's {@link UnsignedBytes} comparator.
227227 */
228- private static class GuavaUnsignedBytes implements ComparatorRunner {
228+ private static final class GuavaUnsignedBytes implements ComparatorRunner {
229229
230230 @ Override
231231 public int compare (final byte [] o1 , final byte [] o2 ) {
@@ -237,7 +237,7 @@ public int compare(final byte[] o1, final byte[] o2) {
237237 /**
238238 * Tests {@link ByteBufProxy}.
239239 */
240- private static class NettyRunner implements ComparatorRunner {
240+ private static final class NettyRunner implements ComparatorRunner {
241241
242242 @ Override
243243 public int compare (final byte [] o1 , final byte [] o2 ) {
@@ -254,7 +254,7 @@ public int compare(final byte[] o1, final byte[] o2) {
254254 * Tests {@link String} by providing a reference implementation of what a
255255 * comparator involving ASCII-encoded bytes should return.
256256 */
257- private static class StringRunner implements ComparatorRunner {
257+ private static final class StringRunner implements ComparatorRunner {
258258
259259 @ Override
260260 public int compare (final byte [] o1 , final byte [] o2 ) {
0 commit comments