Skip to content

Commit

Permalink
IAction & Action deleted, some tests added
Browse files Browse the repository at this point in the history
  • Loading branch information
Kindratte committed Dec 5, 2017
1 parent fb2306a commit 88aa975
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 51 deletions.
40 changes: 0 additions & 40 deletions src/main/java/org/scm4j/deployer/api/Action.java

This file was deleted.

4 changes: 1 addition & 3 deletions src/main/java/org/scm4j/deployer/api/Component.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ public ProductStructure parent() {

@Override
public String toString() {
return "Component{" +
"artifactCoords=" + artifactCoords +
'}';
return "Component{artifactCoords=" + artifactCoords + '}';
}

@Override
Expand Down
8 changes: 0 additions & 8 deletions src/main/java/org/scm4j/deployer/api/IAction.java

This file was deleted.

2 changes: 2 additions & 0 deletions src/test/java/org/scm4j/deployer/api/ApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ public void init(IDeploymentContext depCtx) {
ps = ProductStructure.createEmptyStructure();
assertEquals(ps.getDefaultDeploymentPath(), "");
assertEquals(ps.getComponents(), Collections.emptyList());
assertEquals(new Component("123:123:123", ps), new Component("123:123:123", ps));
assertEquals(new Component("123:123:123", ps).toString(), "Component{artifactCoords=123:123:jar:123}");
}
}

0 comments on commit 88aa975

Please sign in to comment.