Skip to content

Commit 2ee3b5e

Browse files
committed
merged AbstractUnpacker and Unpacker classes manually
1 parent e6a3295 commit 2ee3b5e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/main/java/org/msgpack/unpacker/AbstractUnpacker.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ public Value readValue() throws IOException {
7070

7171
protected abstract boolean tryReadNil() throws IOException;
7272

73-
@Override
74-
public <T> T read(Template<T> template) throws IOException {
75-
return template.read(this, null);
76-
}
77-
7873
@Override
7974
public <T> T read(Class<T> klass) throws IOException {
8075
if(tryReadNil()) {

src/main/java/org/msgpack/unpacker/Unpacker.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,13 @@
2525

2626
import org.msgpack.template.Template;
2727
import org.msgpack.type.Value;
28-
import org.msgpack.template.Template;
2928

3029
/**
3130
* Standard deserializer.
3231
*
3332
* @version 0.6.0
3433
*/
3534
public interface Unpacker extends Iterable<Value>, Closeable {
36-
public <T> T read(Template<T> template) throws IOException;
37-
3835
public <T> T read(Class<T> klass) throws IOException;
3936

4037
public <T> T read(T to) throws IOException;

0 commit comments

Comments
 (0)