mirror of https://github.com/grpc/grpc-java.git
core: Place Nullable annotation before modifiers
Since Nullable is not a type annotation, it is normal to put it before any modifiers (like "private"). This fixes a lint failure.
This commit is contained in:
parent
efa2e47335
commit
1bead99241
|
|
@ -68,8 +68,8 @@ public interface ClientTransportFactory extends Closeable {
|
||||||
public static final class ClientTransportOptions {
|
public static final class ClientTransportOptions {
|
||||||
private String authority = "unknown-authority";
|
private String authority = "unknown-authority";
|
||||||
private Attributes eagAttributes = Attributes.EMPTY;
|
private Attributes eagAttributes = Attributes.EMPTY;
|
||||||
private @Nullable String userAgent;
|
@Nullable private String userAgent;
|
||||||
private @Nullable HttpConnectProxiedSocketAddress connectProxiedSocketAddr;
|
@Nullable private HttpConnectProxiedSocketAddress connectProxiedSocketAddr;
|
||||||
|
|
||||||
public String getAuthority() {
|
public String getAuthority() {
|
||||||
return authority;
|
return authority;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue