small polish
This commit is contained in:
		| @@ -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; |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user