Implement container rename api by lujian0571 · Pull Request #504 · docker-java/docker-java
| /** | ||
| * rename a container. | ||
| * | ||
| * Created by lujian on 16/3/16. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use @author javadoc without the date
Current coverage is 22.81%
Merging #504 into master will decrease coverage by -0.11% as of
11f0e80
@@ master #504 diff @@ ====================================== Files 291 294 +3 Stmts 6042 6071 +29 Branches 527 527 Methods 0 0 ====================================== Hit 1385 1385 Partial 83 83 - Missed 4574 4603 +29
Review entire Coverage Diff as of
11f0e80Powered by Codecov. Updated on successful CI builds.
| try { | ||
| dockerClient.restartContainerCmd("non-existing").exec(); | ||
| fail("expected NotFoundException"); | ||
| } catch (NotFoundException e) { |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have expected test annotation
| import javax.annotation.Nonnull; | ||
|
|
||
| /** | ||
| * rename a container. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please start with capital letter :)
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