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

Side by Side Diff: mojo/public/java/bindings/src/org/chromium/mojo/bindings/RouterImpl.java

Issue 2548013002: Remove redundant field initialization in Java code. (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.mojo.bindings; 5 package org.chromium.mojo.bindings;
6 6
7 import android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 8
9 import org.chromium.mojo.system.Core; 9 import org.chromium.mojo.system.Core;
10 import org.chromium.mojo.system.MessagePipeHandle; 10 import org.chromium.mojo.system.MessagePipeHandle;
(...skipping 30 matching lines...) Expand all
41 handleConnectorClose(); 41 handleConnectorClose();
42 } 42 }
43 43
44 } 44 }
45 45
46 /** 46 /**
47 * 47 *
48 * {@link MessageReceiver} used to return responses to the caller. 48 * {@link MessageReceiver} used to return responses to the caller.
49 */ 49 */
50 class ResponderThunk implements MessageReceiver { 50 class ResponderThunk implements MessageReceiver {
51 private boolean mAcceptWasInvoked = false; 51 private boolean mAcceptWasInvoked;
52 52
53 /** 53 /**
54 * @see 54 * @see
55 * MessageReceiver#accept(Message) 55 * MessageReceiver#accept(Message)
56 */ 56 */
57 @Override 57 @Override
58 public boolean accept(Message message) { 58 public boolean accept(Message message) {
59 mAcceptWasInvoked = true; 59 mAcceptWasInvoked = true;
60 return RouterImpl.this.accept(message); 60 return RouterImpl.this.accept(message);
61 } 61 }
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 mExecutor.execute(new Runnable() { 258 mExecutor.execute(new Runnable() {
259 259
260 @Override 260 @Override
261 public void run() { 261 public void run() {
262 close(); 262 close();
263 } 263 }
264 }); 264 });
265 } 265 }
266 } 266 }
267 } 267 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698