Remove Map null annotation workarounds (#8916)

These workarounds to prevent false positives can be removed now the EEAs allow for proper null analysis.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2020-11-04 13:57:24 +01:00
committed by GitHub
parent 1dccf67909
commit b423f93b1f
124 changed files with 315 additions and 387 deletions

View File

@@ -39,7 +39,7 @@ import org.xml.sax.SAXException;
/**
* The {@link Enigma2Client} class is responsible for communicating with the Enigma2 device.
*
*
* @see <a href=
* "https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/wiki/OpenWebif-API-documentation">OpenWebif-API-documentation</a>
*
@@ -65,7 +65,7 @@ public class Enigma2Client {
static final int TYPE_INFO = 1;
static final int TYPE_WARNING = 2;
static final int TYPE_ERROR = 3;
private final Map<String, @Nullable String> channels = new ConcurrentHashMap<>();
private final Map<String, String> channels = new ConcurrentHashMap<>();
private final String host;
private boolean power;
private String channel = "";
@@ -342,7 +342,7 @@ public class Enigma2Client {
/**
* Getter for Test-Injection
*
*
* @return HttpGet.
*/
Enigma2HttpClient getEnigma2HttpClient() {