Skip to content

Commit

Permalink
fix: matcher names and priorities.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfaller committed Feb 1, 2024
1 parent 325499b commit e12bf68
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public Set<ConfigurationOptions> getApplicableOptions() {
}
}

@Register(id = "gumtree-simple", priority = Registry.Priority.HIGH)
@Register(id = "gumtree-simple", priority = Registry.Priority.MAXIMUM)
public static class SimpleGumtree extends CompositeMatcher {
public SimpleGumtree() {
super(new GreedySubtreeMatcher(), new SimpleBottomUpMatcher());
Expand Down Expand Up @@ -163,7 +163,7 @@ public ChangeDistillerTheta() {
}
}

@Register(id = "classic-gumtree-theta")
@Register(id = "gumtree-classic-theta")
public static class ClassicGumtreeTheta extends CompositeMatcher {
/**
* Instantiates GumTree with Theta B-F.
Expand Down

0 comments on commit e12bf68

Please sign in to comment.