Clean up RaftActorContextImpl formatting
[controller.git] / atomix-storage / src / main / java / io / atomix / utils / serializer / BufferAwareByteArrayOutputStream.java
index 19cd0f2e429afe13f80dec158ffd427891e1d939..276b390625fef0548ec232609534c191f0703fdd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014-present Open Networking Foundation
+ * Copyright 2014-2022 Open Networking Foundation and others.  All rights reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -21,12 +21,11 @@ import java.io.ByteArrayOutputStream;
  * Exposes protected byte array length in {@link ByteArrayOutputStream}.
  */
 final class BufferAwareByteArrayOutputStream extends ByteArrayOutputStream {
+    BufferAwareByteArrayOutputStream(final int size) {
+        super(size);
+    }
 
-  BufferAwareByteArrayOutputStream(int size) {
-    super(size);
-  }
-
-  int getBufferSize() {
-    return buf.length;
-  }
+    int getBufferSize() {
+        return buf.length;
+    }
 }