From c98d6da07a5da624810f27ef4fe5894893beec10 Mon Sep 17 00:00:00 2001 From: gprat <guylaine.prat@c-s.fr> Date: Tue, 30 Jun 2020 18:17:20 +0200 Subject: [PATCH] Fixed SonarQube code smells. --- .../java/org/orekit/rugged/errors/DumpReplayer.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/orekit/rugged/errors/DumpReplayer.java b/src/main/java/org/orekit/rugged/errors/DumpReplayer.java index ca6378a3..59adb652 100644 --- a/src/main/java/org/orekit/rugged/errors/DumpReplayer.java +++ b/src/main/java/org/orekit/rugged/errors/DumpReplayer.java @@ -225,6 +225,12 @@ public class DumpReplayer { /** Keyword for null result. */ private static final String NULL_RESULT = "NULL"; + /** Pattern for delimiting regular expressions. */ + private static final Pattern SEPARATOR = Pattern.compile("\\s+"); + + /** Empty pattern. */ + private static final Pattern PATTERN = Pattern.compile(" "); + /** Constant elevation for constant elevation algorithm. */ private double constantElevation; @@ -273,12 +279,6 @@ public class DumpReplayer { /** Dumped calls. */ private final List<DumpedCall> calls; - /** Pattern for delimiting regular expressions. */ - private static final Pattern SEPARATOR = Pattern.compile("\\s+"); - - /** Empty pattern. */ - private static final Pattern PATTERN = Pattern.compile(" "); - /** Simple constructor. */ -- GitLab