removed unsed variables, extracted anonymous classes, removed code duplication
formatting, missing code duplicate remove
Merge branch 'feature/QualityGates-1557' of github.com:lat-lon/deegree-securityproxy into feature/QualityGates-1557
Merge branch 'feature/QualityGates-1557' into develop