Commit 258d59dd authored by Bryan Cazabonne's avatar Bryan Cazabonne
Browse files

Minor fixes (JavaDoc and Data context).

parent ec1cf5b1
Pipeline #785 passed with stage
in 24 minutes and 53 seconds
......@@ -113,7 +113,7 @@ public class AEMFile extends ADMFile implements AttitudeEphemerisFile {
* Create a container for the set of ephemeris blocks in the file that pertain to
* a single satellite. The satellite's ID is set to ""
* @param blocks containing ephemeris data for the satellite.
* @deprecated in 10.3, replaced by {@link #AemSatelliteEphemeris(String, List)}
* @deprecated in 10.3, replaced by AemSatelliteEphemeris(String, List)
*/
@Deprecated
public AemSatelliteEphemeris(final List<AttitudeEphemeridesBlock> blocks) {
......
......@@ -494,13 +494,13 @@ public class AEMParser extends ADMParser implements AttitudeEphemerisFileParser
// Reference frame A
final String frameAString = DASH.matcher(j2000Check(pi.lastEphemeridesBlock.getRefFrameAString())).replaceAll("");
final Frame frameA = isDefinedFrame(frameAString) ?
CCSDSFrame.valueOf(frameAString).getFrame(getConventions(), isSimpleEOP()) :
CCSDSFrame.valueOf(frameAString).getFrame(getConventions(), isSimpleEOP(), getDataContext()) :
localScBodyReferenceFrameA;
// Reference frame B
final String frameBString = DASH.matcher(j2000Check(pi.lastEphemeridesBlock.getRefFrameBString())).replaceAll("");
final Frame frameB = isDefinedFrame(frameBString) ?
CCSDSFrame.valueOf(frameBString).getFrame(getConventions(), isSimpleEOP()) :
CCSDSFrame.valueOf(frameBString).getFrame(getConventions(), isSimpleEOP(), getDataContext()) :
localScBodyReferenceFrameB;
// Set the attitude reference frame
......
......@@ -208,7 +208,7 @@ public class AEMWriter implements AttitudeEphemerisFileWriter {
}
/**
* Write the passed in {@link ephemerisFile} to a file at the output path specified.
* Write the passed in {@link AEMFile} to a file at the output path specified.
* @param outputFilePath a file path that the corresponding file will be written to
* @param aemFile a populated aem file to serialize into the buffer
* @throws IOException if any file writing operations fail or if the underlying
......
......@@ -59,7 +59,7 @@ public interface AttitudeEphemerisFile {
*
* @author Raphaël Fermé
* @see AttitudeEphemerisFile
* @see AttitudephemerisSegment
* @see AttitudeEphemerisSegment
* @since 10.3
*/
interface SatelliteAttitudeEphemeris {
......
......@@ -168,7 +168,6 @@ public class OrekitAttitudeEphemerisFile implements AttitudeEphemerisFile {
* a list of {@link SpacecraftState} that will comprise this
* new unit.
* @return the generated {@link OrekitAttitudeEphemerisSegment}
* @see #addNewSegment(List, CelestialBody, int, TimeScale)
*/
@DefaultDataContext
public OrekitAttitudeEphemerisSegment addNewSegment(final List<SpacecraftState> states) {
......
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