fix sonar build (#1735)

Signed-off-by: TRS1SF3 <Stanislav.Trailov@bosch.io>
This commit is contained in:
Stanislav Trailov
2024-05-22 09:06:39 +03:00
committed by GitHub
parent b234271361
commit 4c3c71dd06
2 changed files with 3 additions and 3 deletions

View File

@@ -42,8 +42,8 @@ public class DmfController {
// configuration
private final boolean downloadAuthenticationEnabled;
@Getter @Setter
private volatile Map<String, String> attributes = new HashMap<>();
@Getter
private final Map<String, String> attributes = new HashMap<>();
@Setter
private volatile Long currentActionId;

View File

@@ -54,7 +54,7 @@ public class Amqp {
try {
connectionFactory.getRabbitConnectionFactory().useSslProtocol();
} catch (NoSuchAlgorithmException | KeyManagementException e) {
throw new RuntimeException(e);
log.error("Failed to enable ssl ... Reason : ", e);
}
}
connectionFactory.setUsername(