1
0

small polish

This commit is contained in:
Rémi Heredero 2023-05-25 21:22:59 +02:00
parent c5a1e49e60
commit df941eea48
2 changed files with 2 additions and 3 deletions

View File

@ -26,8 +26,7 @@ public abstract class DataPoint{
if( !dataPointMap.containsKey(label) ){ if( !dataPointMap.containsKey(label) ){
return null; return null;
} else { } else {
DataPoint dp = dataPointMap.get(label); return dataPointMap.get(label);
return dp;
} }
} }

View File

@ -19,7 +19,7 @@ import java.util.Properties;
public class DatabaseConnector implements DataPointListener { public class DatabaseConnector implements DataPointListener {
private Properties properties = new Properties(); // Properties of the config.properties file private final Properties properties = new Properties(); // Properties of the config.properties file
private String fullURL = null; // Full URL of the InfluxDB server private String fullURL = null; // Full URL of the InfluxDB server
private URL urlForWrite = null; // URL of the InfluxDB server private URL urlForWrite = null; // URL of the InfluxDB server
private HttpURLConnection con = null; // Connection to the InfluxDB server private HttpURLConnection con = null; // Connection to the InfluxDB server