| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,15 @@ public interface RestartContainerCmd extends SyncDockerCmd<Void> { | |||
| 22 | 22 | ||
| 23 | 23 | RestartContainerCmd withContainerId(@Nonnull String containerId); | |
| 24 | 24 | ||
| 25 | - RestartContainerCmd withtTimeout(Integer timeout); | ||
| 25 | + /** | ||
| 26 | + * @deprecated wrong name, use {@link #withTimeout(Integer)} | ||
| 27 | + */ | ||
| 28 | + @Deprecated | ||
| 29 | + default RestartContainerCmd withtTimeout(Integer timeout) { | ||
| 30 | + return withTimeout(timeout); | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + RestartContainerCmd withTimeout(Integer timeout); | ||
| 26 | 34 | ||
| 27 | 35 | /** | |
| 28 | 36 | * @throws NotFoundException | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,7 @@ public RestartContainerCmd withContainerId(String containerId) { | |||
| 42 | 42 | } | |
| 43 | 43 | ||
| 44 | 44 | @Override | |
| 45 | - public RestartContainerCmd withtTimeout(Integer timeout) { | ||
| 45 | + public RestartContainerCmd withTimeout(Integer timeout) { | ||
| 46 | 46 | checkNotNull(timeout, "timeout was not specified"); | |
| 47 | 47 | checkArgument(timeout >= 0, "timeout must be greater or equal 0"); | |
| 48 | 48 | this.timeout = timeout; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments