Skip to content

Commit

Permalink
java - typo in NotifyMessage.java [msgpack-rpc#64]
Browse files Browse the repository at this point in the history
  • Loading branch information
frsyuki committed Oct 12, 2012
1 parent 1691290 commit b9de668
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -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 {
Expand Down
Expand Up @@ -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 {
Expand Down

0 comments on commit b9de668

Please sign in to comment.