Permalink
Browse files

java - typo in NotifyMessage.java [#64]

  • Loading branch information...
1 parent 1691290 commit b9de668d9a9aeb9e01e0ab0f86c0e099f7f266d8 @frsyuki frsyuki committed Oct 12, 2012
@@ -45,11 +45,12 @@ public void writeTo(Packer pk) throws IOException {
pk.writeArrayBegin(3);
pk.write(Messages.NOTIFY);
pk.write(method);
- pk.write(args.length);
+ pk.writeArrayBegin(args.length);
for (Object arg : args) {
pk.write(arg);
}
pk.writeArrayEnd();
+ pk.writeArrayEnd();
}
public void readFrom(Unpacker u) throws IOException {
@@ -57,6 +57,7 @@ public void writeTo(Packer pk) throws IOException {
pk.write(arg);
}
pk.writeArrayEnd();
+ pk.writeArrayEnd();
}
public void readFrom(Unpacker u) throws IOException {

0 comments on commit b9de668

Please sign in to comment.