Fix sonar findings: Removed since added (#1984)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-11-09 15:22:59 +02:00
committed by GitHub
parent cc226eadac
commit ee7caa06c7
12 changed files with 15 additions and 16 deletions

View File

@@ -800,7 +800,7 @@ public interface TargetManagement {
* @throws EntityNotFoundException if tag with given name does not exist
* @deprecated since 0.6.0 - not very usable with very unclear logic
*/
@Deprecated
@Deprecated(forRemoval = true, since = "0.6.0")
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_UPDATE_TARGET)
TargetTagAssignmentResult toggleTagAssignment(@NotEmpty Collection<String> controllerIds, @NotEmpty String tagName);
@@ -813,7 +813,7 @@ public interface TargetManagement {
* @throws EntityNotFoundException if TAG with given ID does not exist
* @deprecated since 0.6.0 - use {@link #unassignTag(Collection, long)} (List, long)} instead
*/
@Deprecated(forRemoval = true)
@Deprecated(forRemoval = true, since = "0.6.0")
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_UPDATE_TARGET)
Target unassignTag(@NotEmpty String controllerId, long targetTagId);
}

View File

@@ -18,7 +18,7 @@ import lombok.Data;
*
* @deprecated since 0.6.0 with toggle deprecation
*/
@Deprecated(forRemoval = true)
@Deprecated(forRemoval = true, since = "0.6.0")
@Data
public class DistributionSetTagAssignmentResult extends AbstractAssignmentResult<DistributionSet> {

View File

@@ -18,7 +18,7 @@ import lombok.Data;
*
* @deprecated since 0.6.0 with deprecation of toggle assignments
*/
@Deprecated(forRemoval = true)
@Deprecated(forRemoval = true, since = "0.6.0")
@Data
public class TargetTagAssignmentResult extends AbstractAssignmentResult<Target> {

View File

@@ -43,9 +43,9 @@ public final class RsqlConfigHolder {
private RsqlVisitorFactory rsqlVisitorFactory;
/**
* @deprecated in favour of G2 RSQL visitor.
* @deprecated in favour of G2 RSQL visitor. since 0.6.0
*/
@Deprecated
@Deprecated(forRemoval = true, since = "0.6.0")
@Value("${hawkbit.rsql.legacyRsqlVisitor:false}")
private boolean legacyRsqlVisitor;