Noel J. Bergman wrote:
Stefano Bagnara wrote:

I think we should wait to refactor this component until we'll switch to java 5 as the required jvm so we can introduce a Logger interface with the mixin's methods we need.

Can you illustrate the pattern you have in mind for such a future approach?

        --- Noel

Nothing specific: i simply don't like to add N methods to an abstract class to support the log of N parameters. I don't like it because you can't set a real limit, you can't tell 5 objects is enought and 12 objects is too much...

So I think if we want to introduce such a method we should just wait to require java 5 (maybe soon, as SUN will probably EOL java 2 1.4 when java 6 will be final) and use real "varargs".

Btw I'm not totally against this "proposal": I just I prefer the other way. This "proposal" is anyway a "small" refactoring and it is something mechanical to search&replace current concatenations with a similar approach and will be also easy to come back to the former solution.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to