WSOTWO-147: fixed a sonar's problem with method parameters.