Join GitHub today
Fix for #2986 Missing String ConfigProperty should cause DeploymentException PAYARA-2962 #2989
When the ConfigProperty is used with Injection the PayaraConfig is always called with a default value (org.eclipse.microprofile.config.configproperty.unconfigureddvalue).
The logic to notice that no property is found requires the StringConverter to throw the DeploymentException. The cast to String and return before Converters are determined prevents this.
Removed this line of code.
Fixes issue #2986.