Make sure _all_ access to TypeManager.prototype field is synchronized.
This commit is contained in:
parent
41a422fd01
commit
51ba3dc963
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ public final class TypeManager {
|
|||
*
|
||||
* @return a collection containing the prototypes
|
||||
*/
|
||||
public Collection getPrototypes() {
|
||||
public synchronized Collection getPrototypes() {
|
||||
return Collections.unmodifiableCollection(prototypes.values());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue