commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Sitze <rsi...@us.ibm.com>
Subject Re: [logging] API - methods for logging entry and exit events
Date Wed, 19 Jan 2005 15:49:16 GMT
Eclipse makes search/replace of strings during refactoring "optional". 
It's certainly easy enough to manage there.

Emmanuel Bourg <ebourg@apache.org> wrote on 01/19/2005 06:22:29 AM:

> 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
> 

*******************************************
Richard A. Sitze
IBM WebSphere WebServices Development

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message