diff --git a/core/src/main/java/io/grpc/InternalClientInterceptors.java b/core/src/main/java/io/grpc/InternalClientInterceptors.java index 25e18df16d..e6c8acd52e 100644 --- a/core/src/main/java/io/grpc/InternalClientInterceptors.java +++ b/core/src/main/java/io/grpc/InternalClientInterceptors.java @@ -23,10 +23,10 @@ import io.grpc.MethodDescriptor.Marshaller; */ @Internal public final class InternalClientInterceptors { - public static ClientInterceptor wrapClientInterceptor( + public static ClientInterceptor wrapClientInterceptor( final ClientInterceptor interceptor, - final Marshaller reqMarshaller, - final Marshaller respMarshaller) { + final Marshaller reqMarshaller, + final Marshaller respMarshaller) { return ClientInterceptors.wrapClientInterceptor(interceptor, reqMarshaller, respMarshaller); } } diff --git a/core/src/main/java/io/grpc/InternalServerInterceptors.java b/core/src/main/java/io/grpc/InternalServerInterceptors.java index f22c9d7be6..26c0b352b3 100644 --- a/core/src/main/java/io/grpc/InternalServerInterceptors.java +++ b/core/src/main/java/io/grpc/InternalServerInterceptors.java @@ -26,14 +26,15 @@ public final class InternalServerInterceptors { return ServerInterceptors.InterceptCallHandler.create(interceptor, callHandler); } - public static ServerMethodDefinition wrapMethod( - final ServerMethodDefinition definition, - final MethodDescriptor wrappedMethod) { + public static + ServerMethodDefinition wrapMethod( + final ServerMethodDefinition definition, + final MethodDescriptor wrappedMethod) { return ServerInterceptors.wrapMethod(definition, wrappedMethod); } public static ServerCallHandler interceptCallHandlerCreate( - ServerInterceptor interceptor, ServerCallHandler callHandler) { + ServerInterceptor interceptor, ServerCallHandler callHandler) { return ServerInterceptors.InterceptCallHandler.create(interceptor, callHandler); } diff --git a/services/src/test/java/io/grpc/services/BinaryLogProviderTest.java b/services/src/test/java/io/grpc/services/BinaryLogProviderTest.java index 30530f8b6e..c34519da4f 100644 --- a/services/src/test/java/io/grpc/services/BinaryLogProviderTest.java +++ b/services/src/test/java/io/grpc/services/BinaryLogProviderTest.java @@ -406,7 +406,7 @@ public class BinaryLogProviderTest { private static class StringMarshaller implements MethodDescriptor.Marshaller { - public static StringMarshaller INSTANCE = new StringMarshaller(); + public static final StringMarshaller INSTANCE = new StringMarshaller(); @Override public InputStream stream(String value) {