Skip to content

Commit 8e295ba

Browse files
committed
refactored AnyTemplate, TemplatePrecompiler and Unpacker classes
1 parent 2fa1c8c commit 8e295ba

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

src/main/java/org/msgpack/template/AnyTemplate.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import java.io.IOException;
2121
import org.msgpack.*;
2222
import org.msgpack.packer.Packer;
23-
import org.msgpack.type.Value;
2423
import org.msgpack.unpacker.Unpacker;
2524

2625

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,5 +411,20 @@ public void close() throws IOException {
411411
public int getReadByteCount() {
412412
throw new UnsupportedOperationException("Not implemented yet");
413413
}
414+
415+
@Override
416+
public void setRawSizeLimit(int size) {
417+
throw new UnsupportedOperationException("Not implemented yet");
418+
}
419+
420+
@Override
421+
public void setArraySizeLimit(int size) {
422+
throw new UnsupportedOperationException("Not implemented yet");
423+
}
424+
425+
@Override
426+
public void setMapSizeLimit(int size) {
427+
throw new UnsupportedOperationException("Not implemented yet");
428+
}
414429
}
415430

src/main/java/org/msgpack/util/TemplatePrecompiler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
* Application enables to load the .class files and use templates.
4646
*
4747
*/
48-
@SuppressWarnings("restriction")
4948
public class TemplatePrecompiler {
5049

5150
private static final Logger LOG = LoggerFactory.getLogger(TemplatePrecompiler.class);

0 commit comments

Comments
 (0)