Skip to content
Snippets Groups Projects
Commit eefdceab authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Fixed checkstyle warnings.

parent e5bb6112
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ class Dump {
public void dumpInverseLocation(final LineSensor sensor, final GeodeticPoint point,
final int minLine, final int maxLine,
final boolean lightTimeCorrection, final boolean aberrationOfLightCorrection) {
DumpedSensorData ds = getSensorData(sensor);
final DumpedSensorData ds = getSensorData(sensor);
writer.format(Locale.US,
"inverse location: sensorName %s latitude %22.15e longitude %22.15e elevation %22.15e minLine %d maxLine %d lightTime %b aberration %b%n",
ds.getDumpName(),
......@@ -322,6 +322,7 @@ class Dump {
/** Get sensor data.
* @param sensor sensor
* @return dumped data
*/
private DumpedSensorData getSensorData(final LineSensor sensor) {
......
......@@ -408,7 +408,7 @@ public class DumpReplayer {
return sensor;
}
}
ParsedSensor sensor = new ParsedSensor(name);
final ParsedSensor sensor = new ParsedSensor(name);
sensors.add(sensor);
return sensor;
}
......@@ -1077,8 +1077,6 @@ public class DumpReplayer {
/** simple constructor.
* @param name name of the sensor
* @param nbPixels number of pixels
* @param position position
*/
public ParsedSensor(final String name) {
this.name = name;
......
......@@ -307,7 +307,7 @@ public class SensorMeanPlaneCrossing {
// as we know the solution is improved in the second stage of inverse location.
// We expect two or three evaluations only. Each new evaluation shows up quickly in
// the performances as it involves frames conversions
double[] searchHistory = new double[maxEval];
final double[] searchHistory = new double[maxEval];
double crossingLine = midLine;
Transform bodyToInert = midBodyToInert;
Transform scToInert = midScToInert;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment