nel seguente metodo ho un erroere (Statemant not reachable alla riga: String shorter...)


public boolean find(String s)
{
if (s.length() > super.getText().length())
return false;

if (s.equals(super.getText().substring(0, s.length())));
return true;

String shorter = super.getText().substring(1);
WordFinder finder = new WordFinder(shorter);
boolean b = finder.find(s);
return b;
}