1
0

really small polish

This commit is contained in:
2023-06-15 17:26:33 +02:00
parent b1d5b13b04
commit fe9a766ada
2 changed files with 2 additions and 4 deletions

View File

@ -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
}
}