removed pointless synchronized
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@530645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1539a50828
commit
57dd1dc2d2
|
@ -103,7 +103,7 @@ public abstract class ToStringStyle implements Serializable {
|
|||
* </p>
|
||||
*/
|
||||
private static ThreadLocal registry = new ThreadLocal() {
|
||||
protected synchronized Object initialValue() {
|
||||
protected Object initialValue() {
|
||||
// The HashSet implementation is not synchronized,
|
||||
// which is just what we need here.
|
||||
return new HashSet();
|
||||
|
|
Loading…
Reference in New Issue