mirror of https://github.com/grpc/grpc-java.git
core,services: lock down visibility of BinaryLogSink (#4100)
- This class should not be a part of the public API - Update ServiceProvidersTest to verify package private services can be loaded with the utility.
This commit is contained in:
parent
bde2ba2444
commit
5f7b64a250
|
@ -21,7 +21,7 @@ package io.grpc;
|
|||
*/
|
||||
// Nesting the class inside the test leads to a class name that has a '$' in it, which causes
|
||||
// issues with our build pipeline.
|
||||
public abstract class ServiceProvidersTestAbstractProvider {
|
||||
abstract class ServiceProvidersTestAbstractProvider {
|
||||
abstract boolean isAvailable();
|
||||
|
||||
abstract int priority();
|
||||
|
|
|
@ -19,7 +19,7 @@ package io.grpc.services;
|
|||
import com.google.protobuf.MessageLite;
|
||||
import java.io.Closeable;
|
||||
|
||||
public abstract class BinaryLogSink implements Closeable {
|
||||
abstract class BinaryLogSink implements Closeable {
|
||||
/**
|
||||
* Writes the {@code message} to the destination.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue