Remove redundant cast from Java example