2 Apr 2003 14:56
RE: RE: Auto importing
Ilja Preuss <preuss <at> disy.net>
2003-04-02 12:56:42 GMT
2003-04-02 12:56:42 GMT
> if
> (request.getParameter("task").equals(IApplicationConstants.BACK))
>
> instead of:
>
> String task = request.getParameter("task");
> if ("BACK".equals(task))
>
> What to do til Enums (in Java 1.5) arrive?
Why don't you declare the constant in the class it is used in?
Curious, Ilja
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/W7NydA/hdqFAA/VygGAA/umvwlB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
refactoring-unsubscribe <at> yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
RSS Feed