incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmo...@apache.org
Subject svn commit: r1381601 - /incubator/amber/trunk/oauth-2.0/client-demo/src/main/java/org/apache/amber/oauth2/client/demo/model/OAuthParams.java
Date Thu, 06 Sep 2012 13:48:11 GMT
Author: lmoren
Date: Thu Sep  6 13:48:11 2012
New Revision: 1381601

URL: http://svn.apache.org/viewvc?rev=1381601&view=rev
Log:
NullPointerException in the OAuth2 client demo

Modified:
    incubator/amber/trunk/oauth-2.0/client-demo/src/main/java/org/apache/amber/oauth2/client/demo/model/OAuthParams.java

Modified: incubator/amber/trunk/oauth-2.0/client-demo/src/main/java/org/apache/amber/oauth2/client/demo/model/OAuthParams.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/oauth-2.0/client-demo/src/main/java/org/apache/amber/oauth2/client/demo/model/OAuthParams.java?rev=1381601&r1=1381600&r2=1381601&view=diff
==============================================================================
--- incubator/amber/trunk/oauth-2.0/client-demo/src/main/java/org/apache/amber/oauth2/client/demo/model/OAuthParams.java
(original)
+++ incubator/amber/trunk/oauth-2.0/client-demo/src/main/java/org/apache/amber/oauth2/client/demo/model/OAuthParams.java
Thu Sep  6 13:48:11 2012
@@ -36,7 +36,7 @@ public class OAuthParams {
     private String tokenEndpoint;
     private String authzCode;
     private String accessToken;
-    private long expiresIn;
+    private Long expiresIn;
     private String refreshToken;
     private String scope;
     private String resourceUrl;
@@ -109,7 +109,7 @@ public class OAuthParams {
         this.accessToken = accessToken;
     }
 
-    public long getExpiresIn() {
+    public Long getExpiresIn() {
         return expiresIn;
     }
 
@@ -117,7 +117,7 @@ public class OAuthParams {
         this.expiresIn = Long.parseLong(expiresIn);
     }
     
-    public void setExpiresIn(long expiresIn) {
+    public void setExpiresIn(Long expiresIn) {
         this.expiresIn = expiresIn;
     }
 



Mime
View raw message