Eclipse: Double semi-colon on an import
- by smp7d
Using Eclipse, if I have an extra semicolon on an import line (not the last import line), I see a syntax error in the IDE. However, this compiles fine outside of the IDE (Maven in this case).
Example:
import java.util.ArrayList;; //notice extra semicolon
import java.util.List;
Does anyone else see this behavior? Why is this showing as a syntax error? I am working with someone who keeps pushing these this to source control and it is irritating me (they clearly aren't using Eclipse).
Full disclosure... I am using SpringSource Tool Suite 2.8.0.