GitHub user necouchman opened a pull request:
https://github.com/apache/guacamole-client/pull/305
GUACAMOLE-585: getFieldOption should return EMPTY when value is not present
This resolves a dead code issues found by Coverity and also restores the
proper functionality for retrieving field options - if the value is not present
or empty, the `getFieldOption()` method should have the translation service
return the _EMPTY option value rather than bailing out with a null return value.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/necouchman/guacamole-client jira/585
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/guacamole-client/pull/305.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #305
----
commit 86856fa895cf3f226ee95707eb958c7bff8b9d48
Author: Nick Couchman <vnick@...>
Date: 2018-06-30T20:57:51Z
GUACAMOLE-585: getFieldOption should return EMPTY when value is not present.
----
---