fix for https://jira.codehaus.org/browse/SONARPLUGINS-2359