add final for params, local variables, and fields (#7084)
This commit is contained in:
@@ -93,7 +93,7 @@ class OnDiskQueueTest {
|
||||
}
|
||||
|
||||
@SuppressWarnings("SameParameterValue")
|
||||
private static byte[] toBytes(String string) {
|
||||
private static byte[] toBytes(final String string) {
|
||||
return string.getBytes(Charsets.UTF_8);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user