fmidev / fmi-avi-messageconverter

API classes for aviation weather message handling
MIT License
4 stars 6 forks source link

Make reportStatus non-optional #74

Closed petringo closed 3 years ago

petringo commented 3 years ago

AviationWeatherMessage.getReportStatus() was originally made to return Optional<ReportStatus> to allow adding support for SWX Advisories without need to make changes in current clients of other message types. Now, when transitioning to model conforming better to IWXXM 3, this property should be changed non-optional, as it is mandatory in IWXXM 3 schema.