Oh yeah, one more important thing.

The same concept could be applied to type. If the code declares a variable
as type HashMap but all usages would be satisfied by type Map, then the tool
could automatically suggest and correct the code to use Map instead.

All params, return variables and type declarations should be refactored to
allow the most general type allowed by the compiler. Again, a more general
type is more self-documenting, since the reader knows more about actually
usage then if the type is unnecessarily specific.

Thanks,

Juan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to