Skip to content

Commit

Permalink
WildcardReferenceMatcher perf fix
Browse files Browse the repository at this point in the history
* unit tests and naming fixes
  • Loading branch information
buhaiovos committed Apr 18, 2024
1 parent 1d5b7d8 commit 70c4625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.openjdk.jmh.annotations.State;
import org.openjdk.jmh.infra.Blackhole;

public class VersionReferenceMatcherBenchmark {
public class WildcardReferenceMatcherBenchmark {

@Benchmark
@BenchmarkMode(Mode.Throughput)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class WildcardReferenceMatcherTest {
void testMajorWildcard(VersionReference candidate, boolean expected) {
final VersionReference ref = VersionReference.createFromVersionAndWildcardScope(
Version.createFromComponents(1, 0, 0, null),
WildcardScope.MINOR
WildcardScope.MAJOR
);

final var subject = new WildcardReferenceMatcher(ref);
Expand Down

0 comments on commit 70c4625

Please sign in to comment.