Skip to content

Commit

Permalink
ArtifactOverrides: added isAdded to be able to know if we're adding a…
Browse files Browse the repository at this point in the history
…n override #81
  • Loading branch information
FroMage committed Oct 28, 2013
1 parent a002d5d commit 90e19fe
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ public boolean isRemoved(MavenCoordinate mc) {
return false;
}

public boolean isAdded(MavenCoordinate mc) {
for (DependencyOverride override : add) {
if (mc.equals(override.getMvn())) {
return true;
}
}
return false;
}

public DependencyOverride getReplace() {
return replace;
}
Expand Down

0 comments on commit 90e19fe

Please sign in to comment.