Skip to content
Snippets Groups Projects
Commit 1d47ade9 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

- create Chart only when necessary

- minor code cleaning
parent 25383066
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,12 @@ package fr.soleil.salsa.client.util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Collection;
public class CustomDataValue {
private double[] customData = null;
private final List<ICustomDataListener> listeners = new ArrayList<ICustomDataListener>();
private double[] customData;
private final Collection<ICustomDataListener> listeners = new ArrayList<>();
public void addCustomTrajectoryListener(ICustomDataListener listener) {
if (!listeners.contains(listener)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment