really small polish
This commit is contained in:
@ -76,7 +76,7 @@ public class DatabaseConnector implements DataPointListener {
|
||||
*/
|
||||
public void initialize(String url){
|
||||
// Full URL of the InfluxDB server
|
||||
String fullURL = null;
|
||||
String fullURL;
|
||||
try{
|
||||
if(urlForWrite == null){
|
||||
if(url == null){
|
||||
@ -118,7 +118,6 @@ public class DatabaseConnector implements DataPointListener {
|
||||
data += "}";
|
||||
Utility.pDebug(data);
|
||||
sendDataToDatabase(data);
|
||||
fullURL =null; // Reset the full URL
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user