Tomas Znamenacek wrote:

1. Refactoring a method containing calls to log.enter() and log.exit(),
with hardcoded method name, will render these calls inaccurate.

I don't know how the Eclipse refactoring works, but at least for IntelliJ there is no problem here. With:


public void foo() {
    log.enter(this, "foo");
}

Renaming the method will automatically change the string.

Emmanuel Bourg

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



Reply via email to