Fixing compilation warning
This commit is contained in:
parent
9bfabbb5d0
commit
7883dfc162
|
@ -215,9 +215,9 @@ public abstract class ISMapper {
|
|||
* @throws JsonMappingException
|
||||
* @throws IOException
|
||||
*/
|
||||
public static <ISM extends ISManageable> ISM unmarshalWithReader(Class<ISM> reader, String string)
|
||||
public static <ISM extends ISManageable> ISM unmarshalWithReader(Class<ISM> clz, String string)
|
||||
throws JsonParseException, JsonMappingException, IOException {
|
||||
return mapper.readerFor(reader).readValue(string);
|
||||
return mapper.readerFor(clz).readValue(string);
|
||||
}
|
||||
|
||||
public static <ISM extends ISManageable> List<ISM> unmarshalList(Class<ISM> clz, String string)
|
||||
|
|
Loading…
Reference in New Issue