Insight: suppress warnings

This commit is contained in:
Milos Kozak 2022-04-20 10:41:51 +02:00
parent 6cdb4e96d4
commit 968d654588
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ import java.util.List;
import info.nightscout.androidaps.plugins.pump.insight.app_layer.AppLayerMessage;
@SuppressWarnings({"unchecked"})
public class MessageQueue {
MessageRequest activeRequest;

View file

@ -6,6 +6,7 @@ import info.nightscout.androidaps.plugins.pump.insight.app_layer.configuration.W
import info.nightscout.androidaps.plugins.pump.insight.app_layer.parameter_blocks.ParameterBlock;
import info.nightscout.androidaps.plugins.pump.insight.connection_service.InsightConnectionService;
@SuppressWarnings({"unchecked"})
public class ParameterBlockUtil {
public static <T extends ParameterBlock> T readParameterBlock(InsightConnectionService connectionService, Service service, Class<T> parameterBlock) throws Exception {