Skip to content

Commit

Permalink
Bug 565143 - [Passage] floating licensing
Browse files Browse the repository at this point in the history
fixed unused params

Signed-off-by: Nikifor Fedorov <zelenyhleb@gmail.com>
  • Loading branch information
zelenyhleb committed Aug 6, 2020
1 parent dfa1926 commit 2941c5d
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -22,7 +22,6 @@
import org.eclipse.passage.lbc.api.NoSuchTakenLicenseException;
import org.eclipse.passage.lbc.base.BaseConditionDispatcher;
import org.eclipse.passage.lic.internal.api.conditions.ConditionPack;
import org.hamcrest.Condition;
import org.junit.Test;

public class ConditionLockerTest {
Expand Down Expand Up @@ -68,7 +67,9 @@ public void releaseNonExisting() {
});
}

private ConditionPack license(String origin, Condition... conditions) {
// In this we only need a way to determine what license is it, and so there is
// no need to work with Conditions yet.
private ConditionPack license(String origin) {
return new License(origin, new LinkedList<>());
}

Expand Down

0 comments on commit 2941c5d

Please sign in to comment.