simplified CompetitorDTOImpl.hasEmail()

This commit is contained in:
Axel Uhl committed 2015-02-11 15:54:26 +01:00
1 parent 40f0ac5bbd
commit fe75e7899d
1 file changed
+1 -5
@@ -143,10 +143,6 @@ public class CompetitorDTOImpl extends NamedDTO implements CompetitorDTO, Serial
@Override
public boolean hasEmail() {
if (email == null){
return false;
}
return !email.isEmpty();
return email != null && !email.isEmpty();
}
}