Skip to content

Commit 105cad8

Browse files
committed
in fact it could be null
1 parent 92fb19b commit 105cad8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/github/dockerjava/core/DockerConfigFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void addAuthConfig(AuthConfig config) {
5050
}
5151

5252
@CheckForNull
53-
public AuthConfig resolveAuthConfig(@Nonnull String hostname) {
53+
public AuthConfig resolveAuthConfig(@CheckForNull String hostname) {
5454
if (StringUtils.isEmpty(hostname) || AuthConfig.DEFAULT_SERVER_ADDRESS.equals(hostname)) {
5555
return auths.get(AuthConfig.DEFAULT_SERVER_ADDRESS);
5656
}

0 commit comments

Comments
 (0)