Does anyone know why:
public void foo()
{
System.out.println(\"Hello\");
return;
System.out.println(\"World!\");
}
Would be rep
If you wish to ignore the warning "dead code warning in Java under Eclipse" do the following inside eclipse*:
Save and close your eclipse IDE When you reopen eclipse, these specific warnings should no longer be listed.
*For this example solution I'm using Eclipse IDE for Java Developers - Version: Mars.2 Release (4.5.2)