private List<TimeGraphEntry> fEntryList;
/** The trace to entry list hash map */
- private final Map<ITmfTrace, List<TimeGraphEntry>> fEntryListMap = new HashMap<ITmfTrace, List<TimeGraphEntry>>();
+ private final Map<ITmfTrace, List<TimeGraphEntry>> fEntryListMap = new HashMap<>();
/* The trace to build thread hash map */
- private final Map<ITmfTrace, BuildThread> fBuildThreadMap = new HashMap<ITmfTrace, BuildThread>();
+ private final Map<ITmfTrace, BuildThread> fBuildThreadMap = new HashMap<>();
/** The start time */
private long fStartTime;
*/
protected List<ILinkEvent> getLinkList(long startTime, long endTime,
long resolution, IProgressMonitor monitor) {
- return new ArrayList<ILinkEvent>();
+ return new ArrayList<>();
}
synchronized (fEntryListMap) {
fEntryList = fEntryListMap.get(fTrace);
if (fEntryList == null) {
- fEntryList = new ArrayList<TimeGraphEntry>();
+ fEntryList = new ArrayList<>();
}
entries = fEntryList.toArray(new ITimeGraphEntry[0]);
}