Added a very contrived switch statement on a string just to make sure Java 7 features compile and run.