Skip to content

Commit 88aa975

Browse files
committed
IAction & Action deleted, some tests added
1 parent fb2306a commit 88aa975

File tree

4 files changed

+3
-51
lines changed

4 files changed

+3
-51
lines changed

src/main/java/org/scm4j/deployer/api/Action.java

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/main/java/org/scm4j/deployer/api/Component.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ public ProductStructure parent() {
3232

3333
@Override
3434
public String toString() {
35-
return "Component{" +
36-
"artifactCoords=" + artifactCoords +
37-
'}';
35+
return "Component{artifactCoords=" + artifactCoords + '}';
3836
}
3937

4038
@Override

src/main/java/org/scm4j/deployer/api/IAction.java

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/test/java/org/scm4j/deployer/api/ApiTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ public void init(IDeploymentContext depCtx) {
4949
ps = ProductStructure.createEmptyStructure();
5050
assertEquals(ps.getDefaultDeploymentPath(), "");
5151
assertEquals(ps.getComponents(), Collections.emptyList());
52+
assertEquals(new Component("123:123:123", ps), new Component("123:123:123", ps));
53+
assertEquals(new Component("123:123:123", ps).toString(), "Component{artifactCoords=123:123:jar:123}");
5254
}
5355
}

0 commit comments

Comments
 (0)