summaryrefslogtreecommitdiff
path: root/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java')
-rw-r--r--samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
index 5e4f7e3e7..536269387 100644
--- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
+++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
@@ -13,9 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
-
-
package com.example.android.batchstepsensor;
import android.os.Bundle;
@@ -58,7 +55,7 @@ public class MainActivity extends SampleActivityBase implements CardStream {
}
// Use fragment as click listener for cards, but must implement correct interface
- if(!(fragment instanceof OnCardClickListener)){
+ if (!(fragment instanceof OnCardClickListener)){
throw new ClassCastException("BatchStepSensorFragment must " +
"implement OnCardClickListener interface.");
}