Skip to content

Commit 7102ecb

Browse files
committed
Remove unnecessary public declaration from the interface
1 parent 0215af9 commit 7102ecb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

msgpack-core/src/main/java/org/msgpack/core/buffer/MessageBufferInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ public interface MessageBufferInput
3232
* @return the next MessageBuffer, or return null if no more buffer is available.
3333
* @throws IOException when error occurred when reading the data
3434
*/
35-
public MessageBuffer next()
35+
MessageBuffer next()
3636
throws IOException;
3737
}

msgpack-core/src/main/java/org/msgpack/core/buffer/MessageBufferOutput.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public interface MessageBufferOutput
3434
* @return
3535
* @throws IOException
3636
*/
37-
public MessageBuffer next(int minimumSize)
37+
MessageBuffer next(int minimumSize)
3838
throws IOException;
3939

4040
/**
@@ -45,7 +45,7 @@ public MessageBuffer next(int minimumSize)
4545
* @param length the size of buffer to flush
4646
* @throws IOException
4747
*/
48-
public void writeBuffer(int length)
48+
void writeBuffer(int length)
4949
throws IOException;
5050

5151
/**
@@ -58,7 +58,7 @@ public void writeBuffer(int length)
5858
* @return
5959
* @throws IOException
6060
*/
61-
public void write(byte[] buffer, int offset, int length)
61+
void write(byte[] buffer, int offset, int length)
6262
throws IOException;
6363

6464
/**
@@ -71,6 +71,6 @@ public void write(byte[] buffer, int offset, int length)
7171
* @return
7272
* @throws IOException
7373
*/
74-
public void add(byte[] buffer, int offset, int length)
74+
void add(byte[] buffer, int offset, int length)
7575
throws IOException;
7676
}

0 commit comments

Comments
 (0)