Fix sonar code smell
Fix sonar code smell

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1781795 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 06a7372ecaa86a6f821765ef3cc565acea5b4b6c
apache/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter,etnetera/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,benbenw/jmeter,etnetera/jmeter,ham1/jmeter,ham1/jmeter,benbenw/jmeter