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