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:
Hanson Char 2007-04-20 05:11:46 +00:00
parent 57dd1dc2d2
commit 77a3c20bc0
1 changed files with 1 additions and 1 deletions

View File

@ -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();