Commit b7d18bae authored by Luc Maisonobe's avatar Luc Maisonobe

Fixed checkstyle errors.

parent 5362669e
......@@ -136,6 +136,7 @@ public class AdapterPropagator extends AbstractAnalyticalPropagator {
protected SpacecraftState basicPropagate(final AbsoluteDate date) throws OrekitException {
try {
// compute reference state
SpacecraftState state = reference.propagate(date);
final Map<String, double[]> before = state.getAdditionalStates();
......@@ -155,7 +156,7 @@ public class AdapterPropagator extends AbstractAnalyticalPropagator {
return state;
} catch (OrekitExceptionWrapper oew) {
throw new OrekitException(oew.getException());
throw new OrekitException(oew.getException());
}
}
......
......@@ -104,12 +104,12 @@ public class EcksteinHechlerPropagator extends AbstractAnalyticalPropagator impl
* <p>Mass and attitude provider are set to unspecified non-null arbitrary values.</p>
* @param initialOrbit initial orbit
* @param provider for un-normalized zonal coefficients
* @exception OrekitException if the zonal coefficients cannot be retrieved
* @exception OrekitException if the mean parameters cannot be computed
* @exception OrekitException if the zonal coefficients cannot be retrieved or
* if the mean parameters cannot be computed
*/
public EcksteinHechlerPropagator(final Orbit initialOrbit,
final UnnormalizedSphericalHarmonicsProvider provider)
throws OrekitException, OrekitException {
throws OrekitException {
this(initialOrbit, DEFAULT_LAW, DEFAULT_MASS, provider,
provider.onDate(initialOrbit.getDate()));
}
......@@ -172,12 +172,12 @@ public class EcksteinHechlerPropagator extends AbstractAnalyticalPropagator impl
* @param initialOrbit initial orbit
* @param mass spacecraft mass
* @param provider for un-normalized zonal coefficients
* @exception OrekitException if the zonal coefficients cannot be retrieved
* @exception OrekitException if the mean parameters cannot be computed
* @exception OrekitException if the zonal coefficients cannot be retrieved or
* if the mean parameters cannot be computed
*/
public EcksteinHechlerPropagator(final Orbit initialOrbit, final double mass,
final UnnormalizedSphericalHarmonicsProvider provider)
throws OrekitException, OrekitException {
throws OrekitException {
this(initialOrbit, DEFAULT_LAW, mass, provider, provider.onDate(initialOrbit.getDate()));
}
......@@ -216,13 +216,13 @@ public class EcksteinHechlerPropagator extends AbstractAnalyticalPropagator impl
* @param initialOrbit initial orbit
* @param attitudeProv attitude provider
* @param provider for un-normalized zonal coefficients
* @exception OrekitException if the zonal coefficients cannot be retrieved
* @exception OrekitException if the mean parameters cannot be computed
* @exception OrekitException if the zonal coefficients cannot be retrieved or
* if the mean parameters cannot be computed
*/
public EcksteinHechlerPropagator(final Orbit initialOrbit,
final AttitudeProvider attitudeProv,
final UnnormalizedSphericalHarmonicsProvider provider)
throws OrekitException, OrekitException {
throws OrekitException {
this(initialOrbit, attitudeProv, DEFAULT_MASS, provider, provider.onDate(initialOrbit.getDate()));
}
......@@ -262,14 +262,14 @@ public class EcksteinHechlerPropagator extends AbstractAnalyticalPropagator impl
* @param attitudeProv attitude provider
* @param mass spacecraft mass
* @param provider for un-normalized zonal coefficients
* @exception OrekitException if the zonal coefficients cannot be retrieved
* @exception OrekitException if the mean parameters cannot be computed
* @exception OrekitException if the zonal coefficients cannot be retrieved or
* if the mean parameters cannot be computed
*/
public EcksteinHechlerPropagator(final Orbit initialOrbit,
final AttitudeProvider attitudeProv,
final double mass,
final UnnormalizedSphericalHarmonicsProvider provider)
throws OrekitException, OrekitException {
throws OrekitException {
this(initialOrbit, attitudeProv, mass, provider, provider.onDate(initialOrbit.getDate()));
}
......@@ -309,7 +309,7 @@ public class EcksteinHechlerPropagator extends AbstractAnalyticalPropagator impl
this.referenceRadius = referenceRadius;
this.mu = mu;
this.ck0 = new double[] {
0.0, 0.0, c20, c30, c40, c50, c60
0.0, 0.0, c20, c30, c40, c50, c60
};
// compute mean parameters
......
......@@ -148,7 +148,7 @@ public class IntegratedEphemerisTest {
}
@Test
public void testGetFrame() throws OrekitException, OrekitException {
public void testGetFrame() throws OrekitException {
// setup
AbsoluteDate finalDate = initialOrbit.getDate().shiftedBy(Constants.JULIAN_DAY);
numericalPropagator.setEphemerisMode();
......@@ -163,7 +163,7 @@ public class IntegratedEphemerisTest {
}
@Test
public void testSerializationNumerical() throws OrekitException, OrekitException, IOException, ClassNotFoundException {
public void testSerializationNumerical() throws OrekitException, IOException, ClassNotFoundException {
AbsoluteDate finalDate = initialOrbit.getDate().shiftedBy(Constants.JULIAN_DAY);
numericalPropagator.setEphemerisMode();
......@@ -205,18 +205,18 @@ public class IntegratedEphemerisTest {
@Test
public void testSerializationDSSTMean()
throws OrekitException, OrekitException, IOException, ClassNotFoundException {
throws OrekitException, IOException, ClassNotFoundException {
doTestSerializationDSST(true, 36703);
}
@Test
public void testSerializationDSSTOsculating()
throws OrekitException, OrekitException, IOException, ClassNotFoundException {
throws OrekitException, IOException, ClassNotFoundException {
doTestSerializationDSST(false, 618025);
}
private void doTestSerializationDSST(boolean meanOnly, int expectedSize)
throws OrekitException, OrekitException, IOException, ClassNotFoundException {
throws OrekitException, IOException, ClassNotFoundException {
AbsoluteDate finalDate = initialOrbit.getDate().shiftedBy(Constants.JULIAN_DAY);
final double[][] tol = DSSTPropagator.tolerances(1.0, initialOrbit);
......
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