Skip to content

Commit

Permalink
android-interop-testing: Fix checkstyle violations (imports)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Feb 24, 2017
1 parent 5ca4ea7 commit a2f15ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@
import static junit.framework.Assert.assertTrue;
import static junit.framework.Assert.fail;

import com.google.protobuf.nano.EmptyProtos;
import com.google.protobuf.nano.MessageNano;

import android.os.AsyncTask;
import android.util.Log;

import com.google.protobuf.nano.EmptyProtos;
import com.google.protobuf.nano.MessageNano;
import io.grpc.CallOptions;
import io.grpc.ClientCall;
import io.grpc.ManagedChannel;
Expand All @@ -60,7 +58,6 @@
import io.grpc.android.integrationtest.nano.UnimplementedServiceGrpc;
import io.grpc.stub.StreamObserver;
import io.grpc.testing.StreamRecorder;

import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.RuntimeException;
Expand Down Expand Up @@ -758,8 +755,8 @@ private static boolean shouldSkip() {
long actuallyFreeMemory = r.maxMemory() - usedMem;
long wantedFreeMemory = 64 * 1024 * 1024;
if (actuallyFreeMemory < wantedFreeMemory) {
Log.i(LOG_TAG, "Skipping due to lack of memory. " +
"Have: " + actuallyFreeMemory + " Want: " + wantedFreeMemory);
Log.i(LOG_TAG, "Skipping due to lack of memory. "
+ "Have: " + actuallyFreeMemory + " Want: " + wantedFreeMemory);
return true;
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

package io.grpc.android.integrationtest;

import com.google.android.gms.security.ProviderInstaller;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
Expand All @@ -44,7 +42,7 @@
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.google.android.gms.security.ProviderInstaller;
import java.util.LinkedList;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@

package io.grpc.android.integrationtest;

import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
import com.google.android.gms.common.GooglePlayServicesRepairableException;
import com.google.android.gms.security.ProviderInstaller;

import android.app.Instrumentation;
import android.os.Bundle;
import android.util.Log;

import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
import com.google.android.gms.common.GooglePlayServicesRepairableException;
import com.google.android.gms.security.ProviderInstaller;
import java.io.InputStream;
import java.lang.Throwable;

Expand Down

0 comments on commit a2f15ae

Please sign in to comment.