Moved Java from 1.5 to 1.6 as String.isEmpty() isn't in 1.5