mehlah/refactoring-example — pull request #1 by mehlah (2012-12-27 16:45:39+00:00)
Title: Use *Extract Method* on the long statement method

The first step is to find a logical clump of code and use **Extract Method**. An obvious piece here is the switch statement. This looks like it would make a good chunk to extract into its own method.