Skip to content

Commit 49ee878

Browse files
committed
java format
1 parent 56c6f90 commit 49ee878

4 files changed

Lines changed: 4 additions & 7 deletions

File tree

binder/src/main/java/io/grpc/binder/BinderChannelBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ public BinderChannelBuilder strictLifecycleManagement() {
289289
* <p>Android users can be tricked into installing a malicious app with the same package name as a
290290
* legitimate server. That's why we don't send calls to a server until it has been authorized by
291291
* an appropriate {@link SecurityPolicy}. But merely binding to a malicious server can enable
292-
* "keep-alive" and "background activity launch" abuse, even if security policy ultimately
293-
* causes the grpc connection to fail. Pre-authorization is especially important for security when
294-
* the server's address isn't known in advance but rather resolved via target URI or discovered by
292+
* "keep-alive" and "background activity launch" abuse, even if security policy ultimately causes
293+
* the grpc connection to fail. Pre-authorization is especially important for security when the
294+
* server's address isn't known in advance but rather resolved via target URI or discovered by
295295
* other means.
296296
*
297297
* <p>Note that, unlike ordinary authorization, pre-authorization is performed against the server

binder/src/main/java/io/grpc/binder/internal/Bindable.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import android.os.IBinder;
2121
import androidx.annotation.AnyThread;
2222
import androidx.annotation.MainThread;
23-
import com.google.common.util.concurrent.ListenableFuture;
2423
import io.grpc.Status;
2524
import io.grpc.StatusException;
2625

binder/src/main/java/io/grpc/binder/internal/BinderTransport.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
import io.grpc.Status;
5353
import io.grpc.StatusException;
5454
import io.grpc.binder.AndroidComponentAddress;
55-
import io.grpc.binder.ApiConstants;
5655
import io.grpc.binder.AsyncSecurityPolicy;
5756
import io.grpc.binder.InboundParcelablePolicy;
5857
import io.grpc.binder.SecurityPolicy;

binder/src/test/java/io/grpc/binder/internal/RobolectricBinderTransportTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ public final class RobolectricBinderTransportTest extends AbstractTransportTest
7070

7171
private int nextServerAddress;
7272

73-
@Parameter
74-
public boolean preAuthorizeServers;
73+
@Parameter public boolean preAuthorizeServers;
7574

7675
@Parameters(name = "preAuthorizeServers={0}")
7776
public static ImmutableList<Boolean> data() {

0 commit comments

Comments
 (0)