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:
@@ -12,8 +12,6 @@
|
||||
*/
|
||||
package org.openhab.binding.miio.internal.cloud;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
@@ -64,23 +62,23 @@ public class CloudLoginDTO {
|
||||
@Expose
|
||||
private Object captchaUrl;
|
||||
|
||||
public @NotNull String getSsecurity() {
|
||||
public String getSsecurity() {
|
||||
return ssecurity != null ? ssecurity : "";
|
||||
}
|
||||
|
||||
public @NotNull String getUserId() {
|
||||
public String getUserId() {
|
||||
return userId != null ? userId : "";
|
||||
}
|
||||
|
||||
public @NotNull String getcUserId() {
|
||||
public String getcUserId() {
|
||||
return cUserId != null ? cUserId : "";
|
||||
}
|
||||
|
||||
public @NotNull String getPassToken() {
|
||||
public String getPassToken() {
|
||||
return passToken != null ? passToken : "";
|
||||
}
|
||||
|
||||
public @NotNull String getLocation() {
|
||||
public String getLocation() {
|
||||
return location != null ? location : "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user