Skip to content

Commit 1d1da11

Browse files
committed
Moved example codes to test folder
1 parent e1b8105 commit 1d1da11

File tree

4 files changed

+2
-13
lines changed

4 files changed

+2
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For sbt users:
2727
libraryDependencies += "org.msgpack" % "msgpack-core" % "0.7.0-p9"
2828
```
2929

30-
- [Usage examples](msgpack-core/src/main/java/org/msgpack/core/example/MessagePackExample.java)
30+
- [Usage examples](msgpack-core/src/test/java/org/msgpack/core/example/MessagePackExample.java)
3131

3232
msgpack-java supports serialization and deserialization of Java objects through [jackson-databind](https://github.com/FasterXML/jackson-databind).
3333
For details, see [msgpack-jackson/README.md](msgpack-jackson/README.md). The template-based serialization mechanism used in v06 is deprecated.

msgpack-core/src/main/java/org/msgpack/core/NonBlockingMessageUnpacker.java

Lines changed: 0 additions & 11 deletions
This file was deleted.

msgpack-core/src/main/java/org/msgpack/core/example/MessagePackExample.java renamed to msgpack-core/src/test/java/org/msgpack/core/example/MessagePackExample.java

File renamed without changes.

msgpack-core/src/test/scala/org/msgpack/core/MessagePackTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ class MessagePackTest extends MessagePackSpec {
407407
checkException(0, _.packMapHeader(-1), _.unpackMapHeader)
408408
}
409409
catch {
410-
case e: IllegalArgumentExcepNetion => // OK
410+
case e: IllegalArgumentException => // OK
411411
}
412412

413413

0 commit comments

Comments
 (0)