if null must not be returned, null must not be returned (#875)

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
pull/893/head
Markus Rathgeb 2019-06-20 21:20:27 +02:00 committed by Kai Kreuzer
parent 0fc38a910b
commit 361d42b20a
1 changed files with 1 additions and 1 deletions

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