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

Removed a spurious use of deprecated method.

parent ff37cfc2
No related branches found
No related tags found
Loading
......@@ -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
......
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