Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>tags/V1_9_20
int i = 0; | int i = 0; | ||||
for (BcelAdvice element : badAdvice) { | for (BcelAdvice element : badAdvice) { | ||||
ISourceLocation sLoc = element.getSourceLocation(); | ISourceLocation sLoc = element.getSourceLocation(); | ||||
if (sLoc != null) { | |||||
if (sLoc != null && sLoc.getLine() > 0) { | |||||
badLocs[i++] = sLoc; | badLocs[i++] = sLoc; | ||||
} | } | ||||
} | } |