Fixes SONARPLUGINS-3665

for sonar 4.3
Merge pull request #2 from spaced/patch-1

Fixes SONARPLUGINS-3665