Skip to content

Commit 08e8685

Browse files
committed
Format the code
1 parent 967ab7d commit 08e8685

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main/java/hprose/client/HproseClient.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -546,17 +546,17 @@ private Promise<Object> invokeHandler(String name, final Object[] args, final Cl
546546
return beforeFilterHandler.handle(stream.buffer, context).then(
547547
new Func<Object, ByteBuffer>() {
548548
public Object call(ByteBuffer value) throws Throwable {
549-
ByteBufferStream stream = new ByteBufferStream(value);
550-
try {
551-
return decode(stream, args, context);
552-
}
553-
finally {
554-
if (settings.getMode() == HproseResultMode.Normal ||
555-
settings.getMode() == HproseResultMode.Serialized ||
556-
settings.getReturnType() == byte[].class) {
557-
stream.close();
549+
ByteBufferStream stream = new ByteBufferStream(value);
550+
try {
551+
return decode(stream, args, context);
552+
}
553+
finally {
554+
if (settings.getMode() == HproseResultMode.Normal ||
555+
settings.getMode() == HproseResultMode.Serialized ||
556+
settings.getReturnType() == byte[].class) {
557+
stream.close();
558+
}
558559
}
559-
}
560560
}
561561
});
562562
}

0 commit comments

Comments
 (0)