GitHub user andrewgaul opened a pull request:
https://github.com/apache/maven-surefire/pull/16
Avoid copy in TestSetRunListener.getAsString
Explicit synchronization allows us to avoid the copy, as suggested by:
http://docs.oracle.com/javase/6/docs/api/java/util/Collections.html#synchronizedList(java.util.List)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewgaul/maven-surefire
avoid-copy-in-get-as-string
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-surefire/pull/16.patch
----
commit 53db4c2ec183e57501660dfeec35c0b01d539561
Author: Andrew Gaul <[email protected]>
Date: 2012-12-18T19:43:08Z
Avoid copy in TestSetRunListener.getAsString
Explicit synchronization allows us to avoid the copy, as suggested by:
http://docs.oracle.com/javase/6/docs/api/java/util/Collections.html#synchronizedList(java.util.List)
----
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]