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

Fixed deprecations.

parent d49e5dc3
No related branches found
No related tags found
No related merge requests found
...@@ -146,6 +146,7 @@ class ConstantSphericalHarmonics implements RawSphericalHarmonicsProvider { ...@@ -146,6 +146,7 @@ class ConstantSphericalHarmonics implements RawSphericalHarmonicsProvider {
} }
/** {@inheritDoc} */ /** {@inheritDoc} */
@Deprecated
public double getOffset(final AbsoluteDate date) { public double getOffset(final AbsoluteDate date) {
return 0.0; return 0.0;
} }
......
...@@ -141,6 +141,7 @@ class PulsatingSphericalHarmonics implements RawSphericalHarmonicsProvider { ...@@ -141,6 +141,7 @@ class PulsatingSphericalHarmonics implements RawSphericalHarmonicsProvider {
} }
@Override @Override
@Deprecated
public RawSphericalHarmonics onDate(final AbsoluteDate date) { public RawSphericalHarmonics onDate(final AbsoluteDate date) {
//raw (constant) harmonics //raw (constant) harmonics
final RawSphericalHarmonics raw = provider.onDate(date); final RawSphericalHarmonics raw = provider.onDate(date);
......
...@@ -54,15 +54,6 @@ public interface RawSphericalHarmonicsProvider extends SphericalHarmonicsProvide ...@@ -54,15 +54,6 @@ public interface RawSphericalHarmonicsProvider extends SphericalHarmonicsProvide
} }
/** Get the offset from {@link #getReferenceDate reference date} for the harmonics.
* @param date current date
* @return offset between current date and reference date if there is a reference
* date, or 0.0 if there are no reference dates (i.e. if {@link #getReferenceDate}
* returns null)
* @since 11.1
*/
double getOffset(AbsoluteDate date);
/** /**
* Get the raw spherical harmonic coefficients on a specific date. * Get the raw spherical harmonic coefficients on a specific date.
* @param date to evaluate the spherical harmonics * @param date to evaluate the spherical harmonics
......
...@@ -74,7 +74,7 @@ public interface SphericalHarmonicsProvider extends TideSystemProvider { ...@@ -74,7 +74,7 @@ public interface SphericalHarmonicsProvider extends TideSystemProvider {
* @return offset between current date and reference date if there is a reference * @return offset between current date and reference date if there is a reference
* date, or 0.0 if there are no reference dates (i.e. if {@link #getReferenceDate} * date, or 0.0 if there are no reference dates (i.e. if {@link #getReferenceDate}
* returns null) * returns null)
* @deprecated as of 11.1, this method has been moved to {@link RawSphericalHarmonicsProvider} * @deprecated as of 11.1, this method is only called by deprecated methods
*/ */
@Deprecated @Deprecated
double getOffset(AbsoluteDate date); double getOffset(AbsoluteDate date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment