Re: Refactoring / cleanup : getting rid of sofa2jcasMap

2006-12-28 Thread Adam Lally

On 12/26/06, Marshall Schor [EMAIL PROTECTED] wrote:

CASImpl has a hashmap sofa2jcasMap.  I think it is superfluous.  It is
used in the method

getJCas(SofaFS).

But I think that method can be replaced with a new definition that
doesn't use this map:

getView(SofaFS).getJCas();

Is there a reason we want to have this other hash map?



No reason I can think of.  +1 to remove it.

-Adam


Refactoring / cleanup : getting rid of sofa2jcasMap

2006-12-26 Thread Marshall Schor
CASImpl has a hashmap sofa2jcasMap.  I think it is superfluous.  It is 
used in the method


getJCas(SofaFS).

But I think that method can be replaced with a new definition that
doesn't use this map:

getView(SofaFS).getJCas();

Is there a reason we want to have this other hash map?

-Marshall