Commit 36839e2c authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Removed a spurious use of deprecated method.

parent ff37cfc2
...@@ -466,10 +466,9 @@ public class TimeSpanDragForce extends AbstractDragForceModel { ...@@ -466,10 +466,9 @@ public class TimeSpanDragForce extends AbstractDragForceModel {
// Get all transitions // Get all transitions
final List<AbsoluteDate> listDates = new ArrayList<>(); final List<AbsoluteDate> listDates = new ArrayList<>();
final NavigableSet<Transition<DragSensitive>> dragSensitiveTransitions = getTransitions();
// Extract all the transitions' dates // 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()); listDates.add(transition.getDate());
} }
// Return the array of transition dates // Return the array of transition dates
......
Supports Markdown
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