Skip to content

Commit

Permalink
Merge pull request google#829 from cco3/sotercheckstyle
Browse files Browse the repository at this point in the history
Fix checkstyle errors
  • Loading branch information
cco3 authored Sep 19, 2016
2 parents 5f47ef8 + 0053fe2 commit 1872553
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
* Hello world demo for FatBeacon.
Expand Down Expand Up @@ -60,7 +59,7 @@ public void startDemo() {
mContext.startService(intent);
mIsDemoStarted = true;
}

@Override
public void stopDemo() {
mContext.stopService(new Intent(mContext, FatBeaconBroadcastService.class));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
* Hello world demo for WifiDirect.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState
Log.i(TAG, "Disconnected to GATT server");
// ensure progress dialog is removed and running is set false
close();
} else if (status != gatt.GATT_SUCCESS){
} else if (status != gatt.GATT_SUCCESS) {
Log.i(TAG, "Status is " + status);
close();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

package org.physical_web.physicalweb;

/**
* Convenience Log class.
*/
public class Log {
private static final String TAG = "PW-";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private void updateSettingSummary(String key) {
}

private void updateAllSettingSummaries() {
for(String key : PreferenceManager.getDefaultSharedPreferences(getActivity())
for (String key : PreferenceManager.getDefaultSharedPreferences(getActivity())
.getAll().keySet()) {
updateSettingSummary(key);
}
Expand Down

0 comments on commit 1872553

Please sign in to comment.