@Getter
private Disposable subscription;
- private static com.google.gson.Gson gson = new com.google.gson.GsonBuilder().disableHtmlEscaping().create();
private final ApplicationConfig applConfig;
private final InfluxDBClient influxClient;
this.subscription = input.flatMap(this::storeInInflux) //
.subscribe(this::handleSentOk, //
this::handleExceptionInStream, //
- () -> stop());
+ this::stop);
}
return measInfoList.getMeasTypes().getMeasType(measResult.getP());
}
+ @SuppressWarnings("java:S1172")
private void addCounterFieldToPoint(Point point, PmReport.MeasInfoList measInfoList,
PmReport.MeasValuesList measValueList, PmReport.MeasResult measResult) {
String measType = measType(measResult, measInfoList);