Avoid UnsupportedEncodingException & use const from StandardCharsets (#11948)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
committed by
GitHub
parent
3f54327d5a
commit
167f8ebc49
@@ -14,7 +14,6 @@ package org.openhab.binding.solaredge.internal.connector;
|
||||
|
||||
import static org.openhab.binding.solaredge.internal.SolarEdgeBindingConstants.*;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.Queue;
|
||||
import java.util.concurrent.Future;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
@@ -193,8 +192,6 @@ public class WebInterface implements AtomicReferenceTrait {
|
||||
|
||||
/**
|
||||
* authenticates with the Solaredge WEB interface
|
||||
*
|
||||
* @throws UnsupportedEncodingException
|
||||
*/
|
||||
private synchronized void authenticate() {
|
||||
setAuthenticated(false);
|
||||
|
||||
Reference in New Issue
Block a user