OPENJPA-1172 - Committing changes to trunk. Patch submitted by Rick Curtis

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817370 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2009-09-21 18:51:23 +00:00
parent abbda7df8e
commit fdd330a116
1 changed files with 2 additions and 3 deletions

View File

@ -22,13 +22,12 @@ import java.sql.SQLException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.LinkedHashSet; import java.util.LinkedHashSet;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.openjpa.enhance.PersistenceCapable; import org.apache.openjpa.enhance.PersistenceCapable;
import org.apache.openjpa.enhance.Reflection; import org.apache.openjpa.enhance.Reflection;
@ -87,7 +86,7 @@ public class ClassMapping
private ClassMapping[] _assignMaps = null; private ClassMapping[] _assignMaps = null;
// maps columns to joinables // maps columns to joinables
private final Map _joinables = Collections.synchronizedMap(new HashMap()); private final Map _joinables = new ConcurrentHashMap();
/** /**
* Constructor. Supply described type and owning repository. * Constructor. Supply described type and owning repository.