Open rju opened 1 week ago
author André van Hoorn -- Mon, 29 Jul 2013 16:55:55 +0200
Check whether add is called after getTraceAsSortedExecutionSet
author André van Hoorn -- Mon, 2 Sep 2013 14:58:57 +0200
Replying to [avh|comment:4]:
> Check whether add is called after getTraceAsSortedExecutionSet
The add and getTraceAsSortedExecutionSet methods are currently called from the following places:
author André van Hoorn -- Mon, 2 Sep 2013 16:18:12 +0200
Add comment that internal list returned (unmodifiable)
author André van Hoorn -- Thu, 5 Sep 2013 15:20:15 +0200
Replying to [avh|comment:6]:
> Add comment that internal list returned (unmodifiable)
Extended the method comment in changeset:cad3fadaf4170cd9c79f918f95b610f19f21ce04/kieker-git
diff --git a/src/tools/kieker/tools/traceAnalysis/systemModel/ExecutionTrace.java b/src/tools/kieker/tools/traceAnalysis/systemModel/ExecutionTrace index d42d272..8f12521 100644 --- a/src/tools/kieker/tools/traceAnalysis/systemModel/ExecutionTrace.java +++ b/src/tools/kieker/tools/traceAnalysis/systemModel/ExecutionTrace.java -202,6 +202,10 public class ExecutionTrace extends AbstractTrace { /** * Returns a sorted set (unmodifiable) of {link Execution}s in this trace. * + * Note that the returned data structure is the (wrapped )internal data structure of this {link ExecutionTrace} object, to which further elements may be added + * by the {link ExecutionTrace#add(Execution)} method. Consider to create a copy of the returned list, while synchronizing on this (i.e., the + * {link ExecutionTrace}) object. + * * return the sorted set of {link Execution}s in this trace */ public final SortedSet<Execution> getTraceAsSortedExecutionSet() {
JIRA Issue: KIEKER-530 ExecutionTrace, export set or copy of set Original Reporter: Jan Waller
Checklist: