From e9c246808faa3cc0baa8fc22b210ea3f39b48220 Mon Sep 17 00:00:00 2001 From: William Kim Date: Thu, 11 Jul 2013 15:49:03 -0400 Subject: [PATCH] only our entity version may be stored in our storage layer. removed TODO. --- .../java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java b/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java index 433621a9d..dbbed83b3 100644 --- a/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java +++ b/openid-connect-common/src/main/java/org/mitre/oauth2/model/OAuth2AccessTokenEntity.java @@ -217,7 +217,6 @@ public class OAuth2AccessTokenEntity implements OAuth2AccessToken { public void setRefreshToken(OAuth2RefreshToken refreshToken) { if (!(refreshToken instanceof OAuth2RefreshTokenEntity)) { - // TODO: make a copy constructor instead.... throw new IllegalArgumentException("Not a storable refresh token entity!"); } // force a pass through to the entity version