This commit is contained in:
@@ -404,8 +404,8 @@ public final class SncpClient {
|
|||||||
final BsonReader reader = convert.pollBsonReader();
|
final BsonReader reader = convert.pollBsonReader();
|
||||||
try {
|
try {
|
||||||
reader.setBytes(this.body);
|
reader.setBytes(this.body);
|
||||||
byte i;
|
int i;
|
||||||
while ((i = reader.readByte()) != 0) {
|
while ((i = (reader.readByte() & 0xff)) != 0) {
|
||||||
final Attribute attr = action.paramAttrs[i];
|
final Attribute attr = action.paramAttrs[i];
|
||||||
attr.set(params[i - 1], convert.convertFrom(attr.type(), reader));
|
attr.set(params[i - 1], convert.convertFrom(attr.type(), reader));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user