Deprecating abstract methods in Orekit 12.2

Hi,

We need to upgrade to Orekit 12.2 but we are currently facing a problem. The methods AbstractDetector.create & PropagatorBuilder.copy are Deprecated.

However, we have our own implementations of AbstractDetector and PropagatorBuilder, so we necessarily need to overide these two methods in our implementation, which creates a warning by Java compiler.

Because we are developing an industrial software, our code qualities forbid ignoring these warnings by the compiler.

Would it be possible in the next release to have default implementation of these two methods in AbstractDetector and PropagatorBuilder to fix this problem?

Thank you very much for your time

Dorian

Hi!

A patch-12.2.1 branch is in progress, and will be released soon. I created an issue for it. I don’t know if we’ll have time to fix it and include it in the patch, but contribution is welcome :wink:

Another solution is to wait the version 13.0 for which the two methods will be removed.

Best regards,
Bryan

1 Like