Remove org.jetbrains.annotations.NotNull (#10334)

Only Eclipse JDT annotations should be used, see:

https://www.openhab.org/docs/developer/guidelines.html#null-annotations

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-03-14 23:22:52 +01:00
committed by GitHub
parent a5a7070d71
commit ee59803df8
4 changed files with 7 additions and 15 deletions

View File

@@ -23,7 +23,6 @@ import java.util.List;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import org.jetbrains.annotations.NotNull;
import org.openhab.binding.heos.internal.json.dto.HeosResponseObject;
import org.openhab.binding.heos.internal.json.payload.BrowseResult;
import org.openhab.binding.heos.internal.json.payload.Group;
@@ -69,7 +68,6 @@ public class HeosFacade {
return getBrowseResults(PLAYLISTS_SID);
}
@NotNull
private List<BrowseResult> getBrowseResults(String sourceIdentifier) throws IOException, ReadException {
HeosResponseObject<BrowseResult[]> response = browseSource(sourceIdentifier);
logger.debug("Response: {}", response);
@@ -353,7 +351,7 @@ public class HeosFacade {
/**
* Get all the players known by HEOS
*
*
* @return
*/
public HeosResponseObject<Player[]> getPlayers() throws IOException, ReadException {
@@ -362,7 +360,7 @@ public class HeosFacade {
/**
* Get all the groups known by HEOS
*
*
* @return
*/
public HeosResponseObject<Group[]> getGroups() throws IOException, ReadException {