small polish
This commit is contained in:
parent
c5a1e49e60
commit
df941eea48
@ -26,8 +26,7 @@ public abstract class DataPoint{
|
||||
if( !dataPointMap.containsKey(label) ){
|
||||
return null;
|
||||
} else {
|
||||
DataPoint dp = dataPointMap.get(label);
|
||||
return dp;
|
||||
return dataPointMap.get(label);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ import java.util.Properties;
|
||||
|
||||
|
||||
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 URL urlForWrite = null; // URL of the InfluxDB server
|
||||
private HttpURLConnection con = null; // Connection to the InfluxDB server
|
||||
|
Reference in New Issue
Block a user