From a0f6317f72451fabc23a79726bb132af3e4bf4b4 Mon Sep 17 00:00:00 2001
From: Luc Maisonobe <luc@orekit.org>
Date: Mon, 10 Apr 2017 09:30:57 +0200
Subject: [PATCH] Fixed checkstyle errors.

---
 src/main/java/org/orekit/rugged/errors/RuggedException.java | 6 +++---
 src/main/java/org/orekit/rugged/los/PolynomialRotation.java | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/orekit/rugged/errors/RuggedException.java b/src/main/java/org/orekit/rugged/errors/RuggedException.java
index 4d4f5430..47064b07 100644
--- a/src/main/java/org/orekit/rugged/errors/RuggedException.java
+++ b/src/main/java/org/orekit/rugged/errors/RuggedException.java
@@ -51,7 +51,7 @@ public class RuggedException extends Exception implements LocalizedException {
      * @param specifier format specifier (to be translated)
      * @param parts parts to insert in the format (no translation)
      */
-    public RuggedException(final Localizable specifier, final Object ... parts) {
+    public RuggedException(final Localizable specifier, final Object... parts) {
         this.specifier = specifier;
         this.parts     = (parts == null) ? new Object[0] : parts.clone();
     }
@@ -63,7 +63,7 @@ public class RuggedException extends Exception implements LocalizedException {
      * @param parts parts to insert in the format (no translation)
      */
     public RuggedException(final Throwable cause, final Localizable specifier,
-                           final Object ... parts) {
+                           final Object... parts) {
         super(cause);
         this.specifier = specifier;
         this.parts     = (parts == null) ? new Object[0] : parts.clone();
@@ -109,7 +109,7 @@ public class RuggedException extends Exception implements LocalizedException {
      * @return a message string
      */
     private static String buildMessage(final Locale locale, final Localizable specifier,
-                                       final Object ... parts) {
+                                       final Object... parts) {
         return (specifier == null) ? "" : new MessageFormat(specifier.getLocalizedString(locale), locale).format(parts);
     }
 
diff --git a/src/main/java/org/orekit/rugged/los/PolynomialRotation.java b/src/main/java/org/orekit/rugged/los/PolynomialRotation.java
index db568c20..bec75818 100644
--- a/src/main/java/org/orekit/rugged/los/PolynomialRotation.java
+++ b/src/main/java/org/orekit/rugged/los/PolynomialRotation.java
@@ -81,7 +81,7 @@ public class PolynomialRotation implements LOSTransform {
     public PolynomialRotation(final String name,
                               final Vector3D axis,
                               final AbsoluteDate referenceDate,
-                              final double ... angleCoeffs) {
+                              final double... angleCoeffs) {
         this.axis                = axis;
         this.referenceDate       = referenceDate;
         this.coefficientsDrivers = new ParameterDriver[angleCoeffs.length];
-- 
GitLab