Remove switch on string variable to support Java 6 students
Merge pull request #10 from Spidy88/fix_inheritance

Remove switch on string variable to support Java 6 students