Skip to content

Commit 7c8b067

Browse files
committed
suppress warning
1 parent f4ef724 commit 7c8b067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/zowe/client/sdk/zosmfinfo/methods/ZosmfStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public ZosmfInfoResponse get() throws ZosmfRequestException {
110110
}
111111

112112
// A helper method to wrap the potentially throwing `parseResponse` call.
113-
private <T> Optional<T> safeParse(String responseString, Class<T> classs) {
113+
private <T> Optional<T> safeParse(String responseString, @SuppressWarnings("SameParameterValue") Class<T> classs) {
114114
try {
115115
return Optional.ofNullable(JsonUtils.parseResponse(responseString, classs, "get"));
116116
} catch (Exception e) {

0 commit comments

Comments
 (0)