git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7890224
)
JAL-2388 Rationalised hashCode method in HiddenColumns
author
kiramt
<k.mourao@dundee.ac.uk>
Tue, 16 May 2017 09:37:48 +0000
(10:37 +0100)
committer
kiramt
<k.mourao@dundee.ac.uk>
Tue, 16 May 2017 09:37:48 +0000
(10:37 +0100)
src/jalview/datamodel/HiddenColumns.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/HiddenColumns.java
b/src/jalview/datamodel/HiddenColumns.java
index
2edb3f1
..
3685ab0
100644
(file)
--- a/
src/jalview/datamodel/HiddenColumns.java
+++ b/
src/jalview/datamodel/HiddenColumns.java
@@
-1247,9
+1247,10
@@
public class HiddenColumns
/**
* Returns a hashCode built from hidden column ranges
*/
- public int hashCode(int hc)
+ @Override
+ public int hashCode()
{
- int hashCode = hc;
+ int hashCode = 1;
if (hiddenColumns != null)
{
for (int[] hidden : hiddenColumns)