Skip to content

Commit

Permalink
Add get method
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpan123 committed Aug 5, 2020
1 parent ef961ea commit 9e280ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/amihaiemil/docker/Containers.java
Expand Up @@ -104,8 +104,8 @@ Container create(

/**
* Get this container.<br><br>
* @param containerId of the Container
* @return this container object.
* @param containerId Id of the Container
* @return This container object.
*/
Container get(final String containerId);
}
6 changes: 3 additions & 3 deletions src/main/java/com/amihaiemil/docker/RtContainers.java
Expand Up @@ -162,11 +162,11 @@ URI baseUri() {
/**
* Get this container.<br><br>
*
* @param containerId of the Container
* @return this container object.
* @param containerId Id of the Container
* @return This container object.
*/
@Override
public Container get(String containerId) {
public Container get(final String containerId) {
return new RtContainer(
Json.createObjectBuilder().build(),
this.client,
Expand Down

0 comments on commit 9e280ae

Please sign in to comment.