Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Orekit
Orekit
Commits
36839e2c
Commit
36839e2c
authored
Jan 19, 2022
by
Luc Maisonobe
Browse files
Removed a spurious use of deprecated method.
parent
ff37cfc2
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/org/orekit/forces/drag/TimeSpanDragForce.java
View file @
36839e2c
...
...
@@ -466,10 +466,9 @@ public class TimeSpanDragForce extends AbstractDragForceModel {
// Get all transitions
final
List
<
AbsoluteDate
>
listDates
=
new
ArrayList
<>();
final
NavigableSet
<
Transition
<
DragSensitive
>>
dragSensitiveTransitions
=
getTransitions
();
// Extract all the transitions' dates
for
(
Transition
<
DragSensitive
>
transition
:
dragSensitiveTransitions
)
{
for
(
Transition
<
DragSensitive
>
transition
=
getFirstSpan
().
getEndTransition
();
transition
!=
null
;
transition
=
transition
.
next
()
)
{
listDates
.
add
(
transition
.
getDate
());
}
// Return the array of transition dates
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment