Switch removed. Java 6 compatible.