diff --git a/src/main/java/tlschannel/util/Util.java b/src/main/java/tlschannel/util/Util.java index 22bc6e78..605cc9ed 100644 --- a/src/main/java/tlschannel/util/Util.java +++ b/src/main/java/tlschannel/util/Util.java @@ -40,7 +40,7 @@ public static int getJavaMajorVersion() { // 9.0.1 int dotPos = version.indexOf('.'); int dashPos = version.indexOf('-'); - return Integer.parseInt(version.substring(0, - dotPos > -1 ? dotPos : dashPos > -1 ? dashPos : 1)); + return Integer.parseInt( + version.substring(0, dotPos > -1 ? dotPos : dashPos > -1 ? dashPos : 1)); } }