sonar: fix errors  Remove deprecated methods
sonar: fix errors 
Remove deprecated methods

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

Former-commit-id: 3392c731404d8e9bcfb427bfd09c8174f72967e9
ham1/jmeter,apache/jmeter,etnetera/jmeter,etnetera/jmeter,benbenw/jmeter,benbenw/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter,ham1/jmeter,etnetera/jmeter