mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Fix accessors on AccessTokenResponse.java (#5417)
Signed-off-by: Laurent ARNAL <laurent@clae.net>
This commit is contained in:
+4
-4
@@ -165,7 +165,7 @@ public final class AccessTokenResponse implements Serializable, Cloneable {
|
||||
return tokenType;
|
||||
}
|
||||
|
||||
public void setTokenType(String tokenType) {
|
||||
public void setTokenType(@Nullable String tokenType) {
|
||||
this.tokenType = tokenType;
|
||||
}
|
||||
|
||||
@@ -189,7 +189,7 @@ public final class AccessTokenResponse implements Serializable, Cloneable {
|
||||
return scope;
|
||||
}
|
||||
|
||||
public void setScope(String scope) {
|
||||
public void setScope(@Nullable String scope) {
|
||||
this.scope = scope;
|
||||
}
|
||||
|
||||
@@ -197,7 +197,7 @@ public final class AccessTokenResponse implements Serializable, Cloneable {
|
||||
return state;
|
||||
}
|
||||
|
||||
public void setState(String state) {
|
||||
public void setState(@Nullable String state) {
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ public final class AccessTokenResponse implements Serializable, Cloneable {
|
||||
return createdOn;
|
||||
}
|
||||
|
||||
public void setCreatedOn(Instant createdOn) {
|
||||
public void setCreatedOn(@Nullable Instant createdOn) {
|
||||
this.createdOn = createdOn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user