Marshall Schor created UIMA-4720:
------------------------------------
Summary: UV3 Reuse existing type system if equal at commit time
Key: UIMA-4720
URL: https://issues.apache.org/jira/browse/UIMA-4720
Project: UIMA
Issue Type: Sub-task
Components: Core Java Framework
Reporter: Marshall Schor
Assignee: Marshall Schor
Fix For: 3.0.0SDKexp
When committing a type system, it is possible (and in some use cases,
frequently) that the type system is "equal" to an already-in-use committed type
system. In this case, arrange to reuse the existing type system.
Use a weak-ref map to keep track of available type systems. Include an
appropriate hashcode and equals for committed type systems that cache the
hashcode to avoid expensive computation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)