RE: Bug in Token.copyTo?

2009-11-23 Thread Uwe Schindler
That is correct behaviour, because the target of copyTo must support all interfaces implemented (see docs). So you cannot copy a Token to a TermAttribute (because it would be a loss in information), but the other way round is possible. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http:

Re: Bug in Token.copyTo?

2009-11-23 Thread Shai Erera
Oops, I should have read the documentation better :) On Mon, Nov 23, 2009 at 1:22 PM, Uwe Schindler wrote: > That is correct behaviour, because the target of copyTo must support all > interfaces implemented (see docs). So you cannot copy a Token to a > TermAttribute (because it would be a loss