Commit 886c1512 authored by Bryan Cazabonne's avatar Bryan Cazabonne
Browse files

Removed unused method argument.

parent 6be628e6
......@@ -137,7 +137,7 @@ public abstract class AbstractSingleFrequencyCombination implements MeasurementC
final double f = freq1.getMHzFrequency();
// Combined value
final double combinedValue = getCombinedValue(phase.getValue(), pseudoRange.getValue(), f);
final double combinedValue = getCombinedValue(phase.getValue(), pseudoRange.getValue());
// Combined observation data
return new CombinedObservationData(CombinationType.PHASE_MINUS_CODE, MeasurementType.COMBINED_RANGE_PHASE,
......@@ -148,10 +148,9 @@ public abstract class AbstractSingleFrequencyCombination implements MeasurementC
* Get the combined observed value of two measurements.
* @param phase observed value of the phase measurement
* @param pseudoRange observed value of the range measurement
* @param f frequency of both measurements in MHz
* @return combined observed value
*/
protected abstract double getCombinedValue(double phase, double pseudoRange, double f);
protected abstract double getCombinedValue(double phase, double pseudoRange);
/**
* Verifies if two observation data can be combine.
......
......@@ -49,7 +49,7 @@ public class GRAPHICCombination extends AbstractSingleFrequencyCombination {
/** {@inheritDoc} */
@Override
protected double getCombinedValue(final double phase, final double pseudoRange, final double f) {
protected double getCombinedValue(final double phase, final double pseudoRange) {
// Combination does not depend on the frequency
return 0.5 * (phase + pseudoRange);
}
......
......@@ -49,7 +49,7 @@ public class PhaseMinusCodeCombination extends AbstractSingleFrequencyCombinatio
/** {@inheritDoc} */
@Override
protected double getCombinedValue(final double phase, final double pseudoRange, final double f) {
protected double getCombinedValue(final double phase, final double pseudoRange) {
// Combination does not depend on the frequency
return phase - pseudoRange;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment