Skip to content
Snippets Groups Projects
Commit 99c38369 authored by Sean Busbey's avatar Sean Busbey
Browse files

Merge pull request #207 from benjaminbrent/bugfix-missing-synchronized-keyword-in-measurements

Synchronize Measurements.getSummary() method to prevent ConcurrentModificationExceptions
parents 5ab24121 f1fc9223
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ public class Measurements
/**
* Return a one line summary of the measurements.
*/
public String getSummary()
public synchronized String getSummary()
{
String ret="";
for (OneMeasurement m : data.values())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment