Skip to content
Snippets Groups Projects
Commit 097aa5fe authored by langella's avatar langella
Browse files

shortcut for equal functions

git-svn-id: https://subversion.renater.fr/xtandempipeline/trunk@304 b8ef2a07-7df7-436f-90b9-41648038564b
parent 0006c972
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,7 @@ public class HashPeptide extends HashKey4Groups {
@Override
public boolean equals(Object toCompare) {
if (this == toCompare) {
return true;
}
return false;
return (this == toCompare);
}
@Override
......
......@@ -19,10 +19,7 @@ public class HashProtein extends HashKey4Groups {
@Override
public boolean equals(Object toCompare) {
if (this == toCompare) {
return (true);
} else {
return (false);
}
return (this == toCompare);
}
}
......@@ -37,11 +37,7 @@ public class HashSampleScan implements Comparable<HashSampleScan> {
@Override
public boolean equals(Object toCompare) {
if (this == toCompare) {
return true;
} else {
return false;
}
return (this == toCompare);
}
public int getScan() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment