made ORC certificate parsing a bit more tolerant

This commit is contained in:
Axel Uhl
2020-06-24 17:58:58 +02:00
parent 0ea4217d57
commit 55efd9ff6e
5 changed files with 17 additions and 12 deletions
@@ -117,7 +117,7 @@ public interface ORCCertificate extends WithID, Serializable {
* The different division intervals are - in contrast to the intervals of the GPH - set by the Offshore Race Committee and not by the national association for a uniform handling.
* The higher the value, the higher the overall performance, it is measured in meters.
*/
double getCDL();
Double getCDL();
/**
* Returns the LOA (length over all) of the {@link Competitor} boat which this certificate belongs to.
@@ -252,7 +252,7 @@ public class ORCCertificateImpl implements ORCCertificate {
}
@Override
public double getCDL() {
public Double getCDL() {
return cdl;
}