Commit ca48853d authored by Thomas Huster's avatar Thomas Huster

[14358] fixed concurrent modification in HistoryLoader

parent aa7d47a9
Pipeline #11446 passed with stages
in 4 minutes and 31 seconds
......@@ -39,7 +39,7 @@ import ch.rgw.tools.VersionedResource;
*/
public class HistoryLoader extends BackgroundJob {
StringBuilder sb;
List<IEncounter> lKons;
private List<IEncounter> lKons;
KonsFilter filter;
IFilter globalFilter;
private final int currentPage;
......@@ -66,7 +66,7 @@ public class HistoryLoader extends BackgroundJob {
final boolean multiline, final int currentPage, final int pageSize){
super(Messages.HistoryLoader_LoadKonsMessage); //$NON-NLS-1$
this.sb = sb;
this.lKons = paramlKons;
this.lKons = new ArrayList<IEncounter>(paramlKons);
this.multiline = multiline;
this.setPriority(Job.DECORATE);
this.setUser(false);
......
Markdown is supported
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