philadelphia-core: Clean up 'ByteBuffers'
Remove superfluous 'public' modifiers.
@@ -21,11 +21,11 @@ import java.nio.ByteBuffer;
class ByteBuffers {
- public static String getString(ByteBuffer buffer) {
+ static String getString(ByteBuffer buffer) {
return getString(buffer, buffer.remaining());
}
- public static String getString(ByteBuffer buffer, int length) {
+ static String getString(ByteBuffer buffer, int length) {
byte[] bytes = new byte[length];
buffer.get(bytes);
@@ -33,7 +33,7 @@ class ByteBuffers {
return new String(bytes, US_ASCII);
}
- public static ByteBuffer wrap(String s) {
+ static ByteBuffer wrap(String s) {
return ByteBuffer.wrap(s.getBytes(US_ASCII));
}
