Fix SAT warnings (#14202)
* Fix SAT warnings - checkstyle.ModifierOrderCheck - checkstyle.OneStatementPerLineCheck - checkstyle.NeedBracesCheck - PMD.UseStandardCharsets - PMD.UseCollectionIsEmpty - PMD.UnusedLocalVariable - PMD.SimplifyBooleanReturns where reasonable, suppress where readability is better without change - PMD.SimplifyBooleanExpressions * Include StandardCharsets Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -38,7 +38,7 @@ public class FroniusHttpUtil {
|
||||
* @return the response body
|
||||
* @throws FroniusCommunicationException when the request execution failed or interrupted
|
||||
*/
|
||||
public synchronized static String executeUrl(String url, int timeout) throws FroniusCommunicationException {
|
||||
public static synchronized String executeUrl(String url, int timeout) throws FroniusCommunicationException {
|
||||
int attemptCount = 1;
|
||||
try {
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user