Please hg pull -u add set method to: google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/ClientCredentialsTokenRequest.java and google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/PasswordTokenRequest.java
11 years, 3 months ago
(2013-01-14 22:13:19 UTC)
#3
Please hg pull -u
add set method to:
google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/ClientCredentialsTokenRequest.java
and
google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/PasswordTokenRequest.java
On 2013/01/14 22:52:07, yanivi wrote: > LGTM Why the set method of com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl returns an ...
10 years, 11 months ago
(2013-05-27 03:15:39 UTC)
#6
Message was sent while issue was closed.
On 2013/01/14 22:52:07, yanivi wrote:
> LGTM
Why the set method of
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl returns an
AuthorizationCodeRequestUrl ?
I got such an Exception:
java.lang.ClassCastException:
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl cannot be cast to
com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.set(AuthorizationCodeResponseUrl.java:222)
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.set(AuthorizationCodeResponseUrl.java:58)
com.google.api.client.http.UrlEncodedParser.parse(UrlEncodedParser.java:182)
com.google.api.client.http.UrlEncodedParser.parse(UrlEncodedParser.java:96)
com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:153)
com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:117)
com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:106)
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.<init>(AuthorizationCodeResponseUrl.java:99)
com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet.doGet(AbstractAuthorizationCodeCallbackServlet.java:115)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
I wonder if the exception is related to this code change.
On 2013/05/27 03:15:39, snnn wrote: > On 2013/01/14 22:52:07, yanivi wrote: > > LGTM > ...
10 years, 10 months ago
(2013-05-28 11:52:54 UTC)
#7
Message was sent while issue was closed.
On 2013/05/27 03:15:39, snnn wrote:
> On 2013/01/14 22:52:07, yanivi wrote:
> > LGTM
>
> Why the set method of
> com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl returns an
> AuthorizationCodeRequestUrl ?
>
> I got such an Exception:
>
> java.lang.ClassCastException:
> com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl cannot be cast
to
> com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
>
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.set(AuthorizationCodeResponseUrl.java:222)
>
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.set(AuthorizationCodeResponseUrl.java:58)
> com.google.api.client.http.UrlEncodedParser.parse(UrlEncodedParser.java:182)
> com.google.api.client.http.UrlEncodedParser.parse(UrlEncodedParser.java:96)
> com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:153)
> com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:117)
> com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:106)
>
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.<init>(AuthorizationCodeResponseUrl.java:99)
>
com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet.doGet(AbstractAuthorizationCodeCallbackServlet.java:115)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> I wonder if the exception is related to this code change.
Yes, good catch. Eyal, can you please fix this for 1.15.1?
On 2013/05/28 11:52:54, yanivi wrote: > On 2013/05/27 03:15:39, snnn wrote: > > On 2013/01/14 ...
10 years, 10 months ago
(2013-05-28 13:10:48 UTC)
#8
Message was sent while issue was closed.
On 2013/05/28 11:52:54, yanivi wrote:
> On 2013/05/27 03:15:39, snnn wrote:
> > On 2013/01/14 22:52:07, yanivi wrote:
> > > LGTM
> >
> > Why the set method of
> > com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl returns an
> > AuthorizationCodeRequestUrl ?
> >
> > I got such an Exception:
> >
> > java.lang.ClassCastException:
> > com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl cannot be
cast
> to
> > com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
> >
>
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.set(AuthorizationCodeResponseUrl.java:222)
> >
>
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.set(AuthorizationCodeResponseUrl.java:58)
> >
com.google.api.client.http.UrlEncodedParser.parse(UrlEncodedParser.java:182)
> > com.google.api.client.http.UrlEncodedParser.parse(UrlEncodedParser.java:96)
> > com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:153)
> > com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:117)
> > com.google.api.client.http.GenericUrl.<init>(GenericUrl.java:106)
> >
>
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl.<init>(AuthorizationCodeResponseUrl.java:99)
> >
>
com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet.doGet(AbstractAuthorizationCodeCallbackServlet.java:115)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> >
> > I wonder if the exception is related to this code change.
>
> Yes, good catch. Eyal, can you please fix this for 1.15.1?
Take a look in this fix CL - https://codereview.appspot.com/9782046/
Issue 7095052: Issue 166 (OAuth) - GenericData: chainable set method
(Closed)
Created 11 years, 3 months ago by peleyal
Modified 10 years, 10 months ago
Reviewers: yanivi, snnn
Base URL: https://code.google.com/p/google-oauth-java-client/
Comments: 6