Skip to content

Commit 477f4a1

Browse files
committed
Use remote api version constant
1 parent a72355f commit 477f4a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/github/dockerjava/api/DockerClient.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
import com.github.dockerjava.api.exception.DockerException;
4949
import com.github.dockerjava.api.model.AuthConfig;
5050
import com.github.dockerjava.api.model.Identifier;
51+
import com.github.dockerjava.core.RemoteApiVersion;
5152

5253
// https://godoc.org/github.com/fsouza/go-dockerclient
5354
public interface DockerClient extends Closeable {
@@ -129,7 +130,7 @@ public interface DockerClient extends Closeable {
129130
* @param containerId id of the container
130131
* @param resource path to container's resource
131132
* @return created command
132-
* @since docker API version 1.20 and above.
133+
* @since {@link RemoteApiVersion#VERSION_1_20}
133134
*/
134135
public CopyArchiveFromContainerCmd copyArchiveFromContainerCmd(@Nonnull String containerId, @Nonnull String resource);
135136

@@ -150,7 +151,7 @@ public interface DockerClient extends Closeable {
150151
*
151152
* @param containerId id of the container
152153
* @return created command
153-
* @since docker API version 1.20 and above.
154+
* @since {@link RemoteApiVersion#VERSION_1_20}
154155
*/
155156
public CopyArchiveToContainerCmd copyArchiveToContainerCmd(@Nonnull String containerId);
156157

0 commit comments

Comments
 (0)