mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
if null must not be returned, null must not be returned (#875)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
This commit is contained in:
committed by
Kai Kreuzer
parent
0fc38a910b
commit
361d42b20a
+1
-1
@@ -179,7 +179,7 @@ public final class AccessTokenResponse implements Serializable, Cloneable {
|
||||
try {
|
||||
return super.clone();
|
||||
} catch (CloneNotSupportedException e) {
|
||||
return null; // not possible
|
||||
throw new IllegalStateException("not possible", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user