We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4ef724 commit 7c8b067Copy full SHA for 7c8b067
1 file changed
src/main/java/zowe/client/sdk/zosmfinfo/methods/ZosmfStatus.java
@@ -110,7 +110,7 @@ public ZosmfInfoResponse get() throws ZosmfRequestException {
110
}
111
112
// A helper method to wrap the potentially throwing `parseResponse` call.
113
- private <T> Optional<T> safeParse(String responseString, Class<T> classs) {
+ private <T> Optional<T> safeParse(String responseString, @SuppressWarnings("SameParameterValue") Class<T> classs) {
114
try {
115
return Optional.ofNullable(JsonUtils.parseResponse(responseString, classs, "get"));
116
} catch (Exception e) {
0 commit comments