small code cleanup

git-svn-id: https://languagetool.svn.sourceforge.net/svnroot/languagetool/trunk/languagetool@9691 2fe6a88b-1217-0410-b804-ba6ed01314b8