Java snippet source level

When I tried to create a java snippet containing a switch/case on a string, I was told that this only works if the source level is set to 1.7.

Is there a way to do this in KNIME?


No, because KNIME is still compatible to Java 6 (thanks to a broken Java 7 on MacOS).

Is this still the case with Knime 2.10+?

No, 2.10 depends on Java 7 and you can also use Java 7 syntax in the Java Snippet node.