Skip to content

Commit 0afdae4

Browse files
committed
Remove unchecked warning
1 parent 7579bf8 commit 0afdae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/tools/jsonrpc/DefaultJsonRpcMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public JsonRpcRequest parse(String requestBody, ServiceDescription description)
4747
}
4848

4949
@Override
50+
@SuppressWarnings("unchecked")
5051
public JsonRpcResponse parse(String responseBody, Class<?> expectedType) {
51-
@SuppressWarnings("unchecked")
5252
Map<String, Object> map = (Map<String, Object>) (new JSONReader().read(responseBody));
5353
Map<String, Object> error;
5454
JsonRpcException exception = null;

0 commit comments

Comments
 (0)