JavaEngine: silence Eclipse warning

I know, I know... line cannot possibly be null there. But the loop is
too complex for Eclipse to figure that out, so it spits a warning.