Sonar Fixes (#2229)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -59,6 +59,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@SuppressWarnings("java:S5738") // will be removed at some point
|
||||
public class DeprecatedMgmtResource implements DeprecatedMgmtRestApi {
|
||||
|
||||
// logger that logs usage of deprecated API
|
||||
|
||||
@@ -44,6 +44,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
@Deprecated(forRemoval = true, since = "0.6.0")
|
||||
@Tag(name = "Deprecated operations", description = "Deprecated REST operations.",
|
||||
extensions = @Extension(name = OpenApiConfiguration.X_HAWKBIT, properties = @ExtensionProperty(name = "order", value = "2147483647")))
|
||||
@SuppressWarnings("java:S1133") // will be removed at some point
|
||||
public interface DeprecatedMgmtRestApi {
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,6 +27,7 @@ import org.eclipse.hawkbit.repository.model.DistributionSetTag;
|
||||
@Getter
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
@SuppressWarnings("java:S1133") // will be removed at some point
|
||||
public class DistributionSetTagAssignmentResult extends AbstractAssignmentResult<DistributionSet> {
|
||||
|
||||
private final DistributionSetTag distributionSetTag;
|
||||
|
||||
@@ -27,6 +27,7 @@ import org.eclipse.hawkbit.repository.model.TargetTag;
|
||||
@Getter
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
@SuppressWarnings("java:S1133") // will be removed at some point
|
||||
public class TargetTagAssignmentResult extends AbstractAssignmentResult<Target> {
|
||||
|
||||
private final TargetTag targetTag;
|
||||
|
||||
Reference in New Issue
Block a user