Currently the default implementation of theRequestModelHandler does not null-check the result of modelFactory.loadModel(). This leads to a lot of potential issues (e.g. The model result could be null because no (or an invalid) sourceURI was passed.
Preferably this should be refactored to the Optional API.
Currently the default implementation of the
RequestModelHandler
does not null-check the result ofmodelFactory.loadModel()
. This leads to a lot of potential issues (e.g. The model result could be null because no (or an invalid) sourceURI was passed. Preferably this should be refactored to the Optional API.