From e8ff84d2d6e5d54466c11e42e83bf9bd9eb09fa1 Mon Sep 17 00:00:00 2001 From: Jonathan Guinet <jonathan.guinet@c-s.fr> Date: Wed, 22 Feb 2017 10:27:54 -0500 Subject: [PATCH] checkstyle --- .../rugged/refining/measures/Noise.java | 45 +++++++++---------- 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/src/main/java/org/orekit/rugged/refining/measures/Noise.java b/src/main/java/org/orekit/rugged/refining/measures/Noise.java index 5b6f3618..81f86f1a 100644 --- a/src/main/java/org/orekit/rugged/refining/measures/Noise.java +++ b/src/main/java/org/orekit/rugged/refining/measures/Noise.java @@ -23,25 +23,27 @@ package org.orekit.rugged.refining.measures; */ public class Noise { - /** Mean */ + /** Type of distribution. */ + private static final int GAUSSIAN = 0; + + /** Dimension. */ + private static int dimension; + + /** Mean. */ private double[] mean; - /** Standard deviation */ + /** Standard deviation. */ private double[] standardDeviation; - /** Type of distribution */ - private static final int GAUSSIAN=0; - /** Distribution */ - private int distribution=GAUSSIAN; - - /** Dimension */ - private static int dimension; - + + /** Distribution. */ + private int distribution = GAUSSIAN; + /** Build a new instance. - * @param - * @param + * @param distribution noise type + * @param dimension noise dimension */ public Noise(final int distribution, final int dimension) { this.mean = new double[dimension]; @@ -51,7 +53,7 @@ public class Noise { } - + /** * @return the mean */ @@ -60,16 +62,16 @@ public class Noise { } - + /** * @param mean the mean to set */ - public void setMean(double[] mean) { + public void setMean(final double[] mean) { this.mean = mean; } - + /** * @return the standardDeviation */ @@ -78,16 +80,14 @@ public class Noise { } - + /** * @param standardDeviation the standardDeviation to set */ - public void setStandardDeviation(double[] standardDeviation) { + public void setStandardDeviation(final double[] standardDeviation) { this.standardDeviation = standardDeviation; } - - /** * @return the distribution */ @@ -95,8 +95,6 @@ public class Noise { return distribution; } - - /** * @return the dimension */ @@ -104,7 +102,6 @@ public class Noise { return dimension; } - + } - \ No newline at end of file -- GitLab