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:
zpencer 2018-02-20 09:54:40 -08:00 committed by GitHub
parent bde2ba2444
commit 5f7b64a250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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.
*/