mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 19:30:51 +01:00
extend equalsAndHashcode annotation on changeset with callSuper attribute
This commit is contained in:
@@ -39,7 +39,7 @@ import java.util.List;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
@EqualsAndHashCode
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class Changeset extends BasicPropertiesAware implements ModelObject {
|
||||
|
||||
private static final long serialVersionUID = -8373308448928993039L;
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
package sonia.scm.repository;
|
||||
|
||||
import com.google.common.base.Objects;
|
||||
import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -39,7 +38,6 @@ import java.util.List;
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
@ToString
|
||||
@Setter
|
||||
public class ChangesetPagingResult implements Iterable<Changeset>, Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8678755403658841733L;
|
||||
@@ -137,4 +135,18 @@ public class ChangesetPagingResult implements Iterable<Changeset>, Serializable
|
||||
return branchName;
|
||||
}
|
||||
|
||||
void setChangesets(List<Changeset> changesets)
|
||||
{
|
||||
this.changesets = changesets;
|
||||
}
|
||||
|
||||
void setTotal(int total)
|
||||
{
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
void setBranchName(String branchName) {
|
||||
this.branchName = branchName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user