Skip to content

Commit

Permalink
mvn fmt:format
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnworb committed Jun 10, 2021
1 parent e646a4c commit 6448bff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ private Collection<JarEntry> getClassesForCurrentJavaVersion(Iterable<JarEntry>

// We have to figure out what JVM version we're running on.
Integer currentJavaVersion;
String[] javaVersionElements = System.getProperty("java.version").replaceAll("\\-ea", "").split("\\.");
String[] javaVersionElements =
System.getProperty("java.version").replaceAll("\\-ea", "").split("\\.");
if (javaVersionElements[0].equals("1")) {
currentJavaVersion = Integer.parseInt(javaVersionElements[1]);
} else {
Expand Down

0 comments on commit 6448bff

Please sign in to comment.