mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
Fixes some SQ Issues regarding DTO add(Links) methods.
This commit is contained in:
@@ -24,6 +24,7 @@ public class HgConfigDto extends HalRepresentation {
|
||||
private boolean showRevisionInId;
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("squid:S1185") // We want to have this method available in this package
|
||||
protected HalRepresentation add(Links links) {
|
||||
return super.add(links);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package sonia.scm.api.v2.resources;
|
||||
|
||||
import de.otto.edison.hal.HalRepresentation;
|
||||
import de.otto.edison.hal.Links;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
@@ -19,9 +18,4 @@ public class HgConfigPackageDto extends HalRepresentation {
|
||||
private String pythonVersion;
|
||||
private long size;
|
||||
private String url;
|
||||
|
||||
@Override
|
||||
protected HalRepresentation add(Links links) {
|
||||
return super.add(links);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user