Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
williamrandolph committed Oct 18, 2023
1 parent 34ecda5 commit aafc6a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Function;
import java.util.regex.Matcher;
Expand Down Expand Up @@ -140,6 +139,7 @@ public static void verifyCompatibility(PluginDescriptor info) {
}

private record SemanticVersion(int major, int minor, int bugfix, String suffix) {

static final Pattern semanticPattern = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)(\\D?.*)$");
static SemanticVersion create(String version) {
Matcher matcher = semanticPattern.matcher(version);
Expand Down

0 comments on commit aafc6a8

Please sign in to comment.