git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3141 Fixed inconsistent (changed) message labels in Messages_es.props and changed...
[jalview.git]
/
src
/
jalview
/
datamodel
/
ResidueCount.java
diff --git
a/src/jalview/datamodel/ResidueCount.java
b/src/jalview/datamodel/ResidueCount.java
index
3e3a966
..
74eb887
100644
(file)
--- a/
src/jalview/datamodel/ResidueCount.java
+++ b/
src/jalview/datamodel/ResidueCount.java
@@
-28,6
+28,7
@@
import jalview.util.SparseCount;
/**
* A class to count occurrences of residues in a profile, optimised for speed
* and memory footprint.
/**
* A class to count occurrences of residues in a profile, optimised for speed
* and memory footprint.
+ *
* @author gmcarstairs
*
*/
* @author gmcarstairs
*
*/
@@
-447,8
+448,8
@@
public class ResidueCount
{
if (intCounts[i] == count)
{
{
if (intCounts[i] == count)
{
- modal.append(isNucleotide ? NUCS.charAt(i - 1) : AAS
- .charAt(i - 1));
+ modal.append(
+ isNucleotide ? NUCS.charAt(i - 1) : AAS.charAt(i - 1));
}
}
}
}
}
}
@@
-458,8
+459,8
@@
public class ResidueCount
{
if (counts[i] == count)
{
{
if (counts[i] == count)
{
- modal.append(isNucleotide ? NUCS.charAt(i - 1) : AAS
- .charAt(i - 1));
+ modal.append(
+ isNucleotide ? NUCS.charAt(i - 1) : AAS.charAt(i - 1));
}
}
}
}
}
}
@@
-492,7
+493,8
@@
public class ResidueCount
*
* @return
*/
*
* @return
*/
- public int size() {
+ public int size()
+ {
int size = 0;
if (useIntCounts)
{
int size = 0;
if (useIntCounts)
{
@@
-546,8
+548,8
@@
public class ResidueCount
{
if (intCounts[i] > 0)
{
{
if (intCounts[i] > 0)
{
- char symbol = isNucleotide ? NUCS.charAt(i - 1) : AAS
- .charAt(i - 1);
+ char symbol = isNucleotide ? NUCS.charAt(i - 1)
+ : AAS.charAt(i - 1);
symbols[j] = symbol;
values[j] = intCounts[i];
j++;
symbols[j] = symbol;
values[j] = intCounts[i];
j++;
@@
-560,8
+562,8
@@
public class ResidueCount
{
if (counts[i] > 0)
{
{
if (counts[i] > 0)
{
- char symbol = isNucleotide ? NUCS.charAt(i - 1) : AAS
- .charAt(i - 1);
+ char symbol = isNucleotide ? NUCS.charAt(i - 1)
+ : AAS.charAt(i - 1);
symbols[j] = symbol;
values[j] = counts[i];
j++;
symbols[j] = symbol;
values[j] = counts[i];
j++;