FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Rename `RestartContainerCmd#withtTimeout` to `#withTimeout` by bsideup · Pull Request #1817 · docker-java/docker-java · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ public interface RestartContainerCmd extends SyncDockerCmd<Void> {

RestartContainerCmd withContainerId(@Nonnull String containerId);

RestartContainerCmd withtTimeout(Integer timeout);
/**
* @deprecated wrong name, use {@link #withTimeout(Integer)}
*/
@Deprecated
default RestartContainerCmd withtTimeout(Integer timeout) {
return withTimeout(timeout);
}

RestartContainerCmd withTimeout(Integer timeout);

/**
* @throws NotFoundException
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public RestartContainerCmd withContainerId(String containerId) {
}

@Override
public RestartContainerCmd withtTimeout(Integer timeout) {
public RestartContainerCmd withTimeout(Integer timeout) {
checkNotNull(timeout, "timeout was not specified");
checkArgument(timeout >= 0, "timeout must be greater or equal 0");
this.timeout = timeout;
Expand Down

Back | FazBrowse Home | New Git URL