April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Refactoring
nRefactoring actions rewrite source code
nWithin a single Java source file
nAcross multiple interrelated Java source files
nRefactoring actions preserve program semantics
nDoes not alter what program does
nJust affects the way it does it
n
nEncourages exploratory programming
nEncourages higher code quality
nMakes it easier to rewrite poor code