> On Wed, Feb 15, 2012 at 8:21 AM, Uwe Schindler <[email protected]> wrote:
> > Another cleaner fix would be to add a protected final method to
> RewriteMethod that calls this method from MTQ. So anything subclassing
> RewriteMethod can get the enum from inside the RewriteMethod class which
> is the "correct" way to handle it. Delegating to MTQ is then "internal".
> >
> 
> This sounds like the best solution to me.

... which is unfortunately not so easy to implement, as RewriteMethod is 
stateless and does not know ist MTQ. Only the rewrite method gets it as 
parameter.

I'll think about it. We should fix this, so getEnum() can solely called from 
inside RewriteMethod.

Uwe


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to