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:
Markus Rathgeb 2019-06-20 21:20:27 +02:00 committed by Kai Kreuzer
parent 0fc38a910b
commit 361d42b20a

View File

@ -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);
}
}