Small code style refactoring (#2302)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-02-25 17:22:23 +02:00
committed by GitHub
parent b4e391cfe3
commit ea8fa4e1bd
3 changed files with 2 additions and 4 deletions

View File

@@ -10,12 +10,10 @@
package org.eclipse.hawkbit.mgmt.json.model.distributionsettype; package org.eclipse.hawkbit.mgmt.json.model.distributionsettype;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.experimental.Accessors;
import org.eclipse.hawkbit.mgmt.json.model.MgmtId; import org.eclipse.hawkbit.mgmt.json.model.MgmtId;
/** /**
* Request Body of DistributionSetType for assignment operations (ID only). * Request Body of DistributionSetType for assignment operations (ID only).
*/ */
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true) @JsonIgnoreProperties(ignoreUnknown = true)
public class MgmtDistributionSetTypeAssignment extends MgmtId {} public class MgmtDistributionSetTypeAssignment extends MgmtId {}

View File

@@ -20,9 +20,9 @@ import lombok.experimental.Accessors;
* Update implementation. * Update implementation.
*/ */
@Data @Data
@Accessors(fluent = true) // override locked()
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true) @ToString(callSuper = true)
@Accessors(fluent = true)
public class GenericDistributionSetUpdate extends AbstractDistributionSetUpdateCreate<DistributionSetUpdate> implements DistributionSetUpdate { public class GenericDistributionSetUpdate extends AbstractDistributionSetUpdateCreate<DistributionSetUpdate> implements DistributionSetUpdate {
@Nullable @Nullable

View File

@@ -20,9 +20,9 @@ import lombok.experimental.Accessors;
* Update implementation. * Update implementation.
*/ */
@Data @Data
@Accessors(fluent = true) // override locked()
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true) @ToString(callSuper = true)
@Accessors(fluent = true)
public class GenericSoftwareModuleUpdate extends AbstractSoftwareModuleUpdateCreate<SoftwareModuleUpdate> public class GenericSoftwareModuleUpdate extends AbstractSoftwareModuleUpdateCreate<SoftwareModuleUpdate>
implements SoftwareModuleUpdate { implements SoftwareModuleUpdate {