bug6096: properly handle nationality from competitor in result import now;

see https://bugzilla.sapsailing.com/bugzilla/show_bug.cgi?id=6096#c2;
The regular expression demanded a three-letter acronym at the beginning
of the sail ID; this has been relaxed now, and now the "default
nationality" coming from the competitor is finally being used for
match-making when the sail ID only has the number.
This commit is contained in:
Axel Uhl
2025-02-21 13:25:32 +01:00
parent fc15f61d63
commit e19b804676
3 changed files with 11 additions and 5 deletions
@@ -1101,7 +1101,9 @@ public class Util {
}
/**
* Checks whether a given String is <code>null</code> or empty.
* Checks whether a given String is <code>null</code> or empty. Note that the string is not trimmed
* before performing the "empty" check, so for example " " (three spaces) <em>will</em> be considered
* having a length and <tt>true</tt> would be returned in this case.
*
* @param str
* String to check