msgpack/msgpack-java — pull request #119 by komamitsu (2014-07-13 09:13:29+00:00)
Title: Fix assert() condition in MessageBufferOutput subclasses

The assert() in ChannelBufferOutput/OutputStreamBufferOutput#flush() looks to have a wrong condition. With ```-ea``` option on IntelliJ, org.msgpack.core.MessagePackTest("pack/unpack binary") failed.

For sbt, I tried to reproduce but I didn't find a proper way. The following change didn't work...
```
diff --git a/project/Build.scala b/project/Build.scala
index 21d221b..ce1aba9 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -51,6 +51,7 @@ object Build extends Build {
//resolvers += Resolver.mavenLocal,
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked", "-target:jvm-1.6", "-feature"),
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.6", "-target", "1.6"),
+ javaOptions ++= Seq("-ea"),
pomExtra := {
http://msgpack.org/

```