mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-16 01:01:02 +00:00
simplified CompetitorDTOImpl.hasEmail()
This commit is contained in:
1 parent
40f0ac5bbd
commit
fe75e7899d
1 file changed
+1
-5
+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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user