commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [logging] API - methods for logging entry and exit events
Date Wed, 19 Jan 2005 12:22:29 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message