From f9398df5434ff48a8617e8182e5c60992d9c3c79 Mon Sep 17 00:00:00 2001 From: Sven den Boer Date: Wed, 6 Apr 2022 00:28:52 +0200 Subject: [PATCH] fixed format violations in Utils.getJavaMajorVersion method --- src/main/java/tlschannel/util/Util.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } }