Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Issue 2136083002: Compare account name values, not addresses. (Closed)

Created:
4 years, 5 months ago by PEConn
Modified:
4 years, 5 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Compare account name values, not addresses. I fell prey to one of the classic Java bugs. BUG=626544 Committed: https://crrev.com/cc204bc401676b28832554a79c2db8e7510eecfa Cr-Commit-Position: refs/heads/master@{#405175}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use String.equals instead of TextUtils. #

Patch Set 3 : Readded empty check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/signin/ConfirmSyncDataStateMachine.java View 1 2 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (20 generated)
PEConn
PTAL at this embarrassing fix.
4 years, 5 months ago (2016-07-11 16:09:06 UTC) #3
Bernhard Bauer
LGTM I hope you didn't get involved in a land war in asia... https://codereview.chromium.org/2136083002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/signin/ConfirmSyncDataStateMachine.java File ...
4 years, 5 months ago (2016-07-12 08:33:58 UTC) #8
PEConn
https://codereview.chromium.org/2136083002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/signin/ConfirmSyncDataStateMachine.java File chrome/android/java/src/org/chromium/chrome/browser/signin/ConfirmSyncDataStateMachine.java (right): https://codereview.chromium.org/2136083002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/signin/ConfirmSyncDataStateMachine.java#newcode114 chrome/android/java/src/org/chromium/chrome/browser/signin/ConfirmSyncDataStateMachine.java:114: || TextUtils.equals(mOldAccountName, mNewAccountName)) { On 2016/07/12 08:33:58, Bernhard Bauer ...
4 years, 5 months ago (2016-07-12 08:47:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136083002/40001
4 years, 5 months ago (2016-07-12 12:34:58 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/102235)
4 years, 5 months ago (2016-07-12 13:46:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136083002/40001
4 years, 5 months ago (2016-07-12 14:17:25 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/102273)
4 years, 5 months ago (2016-07-12 15:23:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136083002/40001
4 years, 5 months ago (2016-07-13 14:09:03 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/103143)
4 years, 5 months ago (2016-07-13 15:12:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2136083002/60001
4 years, 5 months ago (2016-07-13 15:32:00 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-13 16:15:28 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 16:15:40 UTC) #31
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 16:18:26 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cc204bc401676b28832554a79c2db8e7510eecfa
Cr-Commit-Position: refs/heads/master@{#405175}

Powered by Google App Engine
This is Rietveld 408576698