[PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if
-----------------------------------------------------------------------
Key: SYNAPSE-505
URL: https://issues.apache.org/jira/browse/SYNAPSE-505
Project: Synapse
Issue Type: Bug
Components: Extension Mediators
Affects Versions: 1.1.1
Reporter: Dave Brosius
Priority: Minor
Fix For: 1.1.1
Attachments: fix_xquery_npe.diff
Code has NPE potential due to invalid non-short-circuited if statement:
if (variables != null & !variables.isEmpty()) {
patch changes it to
if (variables != null && !variables.isEmpty()) {
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]