Extract method in Cat.java.
Merge pull request #10 from danilofes/branch1

Extract method in Cat.java.