mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-18 13:32:10 +01:00
Correct hash and equals for cache
This commit is contained in:
@@ -116,7 +116,8 @@ public final class BrowseCommandRequest extends FileBaseCommandRequest
|
||||
&& Objects.equal(recursive, other.recursive)
|
||||
&& Objects.equal(disableLastCommit, other.disableLastCommit)
|
||||
&& Objects.equal(disableSubRepositoryDetection, other.disableSubRepositoryDetection)
|
||||
&& Objects.equal(offset, other.offset);
|
||||
&& Objects.equal(offset, other.offset)
|
||||
&& Objects.equal(limit, other.limit);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -129,7 +130,7 @@ public final class BrowseCommandRequest extends FileBaseCommandRequest
|
||||
public int hashCode()
|
||||
{
|
||||
return Objects.hashCode(super.hashCode(), recursive, disableLastCommit,
|
||||
disableSubRepositoryDetection, offset);
|
||||
disableSubRepositoryDetection, offset, limit);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user