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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/AccountsAdapter.java

Issue 600983002: [Checkstyle] Fix misc style issues in Java files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: remoting/android/java/src/org/chromium/chromoting/AccountsAdapter.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/AccountsAdapter.java b/remoting/android/java/src/org/chromium/chromoting/AccountsAdapter.java
index 8812fc7ee0d4af377a61e22252676961cd3d332d..5731205ddf4d1e9a3b3f809d727d0db2962dd6b6 100644
--- a/remoting/android/java/src/org/chromium/chromoting/AccountsAdapter.java
+++ b/remoting/android/java/src/org/chromium/chromoting/AccountsAdapter.java
@@ -21,21 +21,21 @@ public class AccountsAdapter extends ArrayAdapter<Account> {
// getDropDownView(). But these methods are overridden here to return custom Views, so it's
// OK to provide 0 as the resource for the base class.
super(context, 0, accounts);
- mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
+ mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
View view = mInflater.inflate(R.layout.account_selected, parent, false);
Account account = getItem(position);
- TextView target = (TextView)view.findViewById(R.id.account_name);
+ TextView target = (TextView) view.findViewById(R.id.account_name);
target.setText(account.name);
return view;
}
@Override
public View getDropDownView(int position, View convertView, ViewGroup parent) {
- TextView view = (TextView)mInflater.inflate(R.layout.account_dropdown, parent, false);
+ TextView view = (TextView) mInflater.inflate(R.layout.account_dropdown, parent, false);
Account account = getItem(position);
view.setText(account.name);
return view;

Powered by Google App Engine
This is Rietveld 408576698