Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(61)

Issue 7575043: Issues 46 and 48: JdoCredentialStore - duplicate entry exception and transient instance delete (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by peleyal
Modified:
11 years ago
Reviewers:
yanivi
CC:
ngmiceli
Base URL:
https://code.google.com/p/google-oauth-java-client/
Visibility:
Public.

Description

https://code.google.com/p/google-oauth-java-client/issues/detail?id=46 https://code.google.com/p/google-oauth-java-client/issues/detail?id=48

Patch Set 1 #

Patch Set 2 : Improve comments #

Total comments: 1

Patch Set 3 : Create a new google-oauth-client-jdo artifact #

Patch Set 4 : minor #

Total comments: 1

Patch Set 5 : remove second argument from delete operation #

Total comments: 20

Patch Set 6 : Before annotating CredentialStore as Beta and reverting google-oauth-client-jdo #

Patch Set 7 : Annotate StoreCredential as Beta #

Patch Set 8 : minor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -10 lines) Patch
M findbugs-exclude.xml View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M google-oauth-client-appengine/src/main/java/com/google/api/client/extensions/appengine/auth/oauth2/AppEngineCredentialStore.java View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M google-oauth-client-java6/src/main/java/com/google/api/client/extensions/java6/auth/oauth2/FileCredentialStore.java View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M google-oauth-client-java7/src/main/java/com/google/api/client/extensions/java7/auth/oauth2/FileCredentialStoreJava7.java View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoCredentialStore.java View 1 2 3 4 5 6 7 4 chunks +24 lines, -3 lines 0 comments Download
M google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoPersistedCredential.java View 1 2 3 4 5 6 2 chunks +19 lines, -6 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/CredentialStore.java View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/CredentialStoreRefreshListener.java View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/MemoryCredentialStore.java View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M pom.xml View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13
peleyal
https://codereview.appspot.com/7575043/diff/2001/google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoPersistedCredential.java File google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoPersistedCredential.java (right): https://codereview.appspot.com/7575043/diff/2001/google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoPersistedCredential.java#newcode82 google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoPersistedCredential.java:82: void update(Credential credential) { I'm still not that happy ...
11 years, 1 month ago (2013-03-07 16:31:02 UTC) #1
peleyal
ping
11 years, 1 month ago (2013-03-14 15:14:54 UTC) #2
yanivi
I will review the details shortly, but I would like to start by saying that ...
11 years ago (2013-04-18 15:10:41 UTC) #3
peleyal
DONE - a new artifact was created!
11 years ago (2013-04-18 18:31:43 UTC) #4
yanivi
https://codereview.appspot.com/7575043/diff/9012/google-oauth-client-jdo/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoCredentialStore.java File google-oauth-client-jdo/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoCredentialStore.java (right): https://codereview.appspot.com/7575043/diff/9012/google-oauth-client-jdo/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoCredentialStore.java#newcode2 google-oauth-client-jdo/src/main/java/com/google/api/client/extensions/jdo/auth/oauth2/JdoCredentialStore.java:2: * Copyright (c) 2012 Google Inc. For some reason ...
11 years ago (2013-04-18 20:03:49 UTC) #5
peleyal
I renamed the file (hg mv) and also remove the Credential argument from the delete ...
11 years ago (2013-04-18 21:17:33 UTC) #6
yanivi
https://codereview.appspot.com/7575043/diff/14001/google-oauth-client-jdo/.classpath File google-oauth-client-jdo/.classpath (right): https://codereview.appspot.com/7575043/diff/14001/google-oauth-client-jdo/.classpath#newcode4 google-oauth-client-jdo/.classpath:4: <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> change this to: <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> ...
11 years ago (2013-04-19 19:59:50 UTC) #7
yanivi
Please update the changeset description to explain that it covers these two issues, including adding ...
11 years ago (2013-04-19 20:01:31 UTC) #8
yanivi
Just realized: we need to make JdoCredentialStore thread safe. Take a look at how we ...
11 years ago (2013-04-20 12:58:18 UTC) #9
yanivi
https://codereview.appspot.com/7575043/diff/14001/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/CredentialStore.java File google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/CredentialStore.java (right): https://codereview.appspot.com/7575043/diff/14001/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/CredentialStore.java#newcode72 google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/CredentialStore.java:72: void delete(String userId) throws IOException; I'm having second thoughts ...
11 years ago (2013-04-20 13:29:30 UTC) #10
yanivi
Eyal, if you agree with my proposal, I propose that for 1.15 we do the ...
11 years ago (2013-04-22 13:36:42 UTC) #11
peleyal
https://codereview.appspot.com/7575043/diff/14001/google-oauth-client-jdo/.classpath File google-oauth-client-jdo/.classpath (right): https://codereview.appspot.com/7575043/diff/14001/google-oauth-client-jdo/.classpath#newcode4 google-oauth-client-jdo/.classpath:4: <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> On 2013/04/19 19:59:50, yanivi wrote: > ...
11 years ago (2013-04-22 17:58:56 UTC) #12
yanivi
11 years ago (2013-04-23 15:34:21 UTC) #13
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b