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-1517 source formatting
[jalview.git]
/
test
/
jalview
/
schemes
/
ScoreMatrixPrinter.java
diff --git
a/test/jalview/schemes/ScoreMatrixPrinter.java
b/test/jalview/schemes/ScoreMatrixPrinter.java
index
d058c24
..
88d234e
100644
(file)
--- a/
test/jalview/schemes/ScoreMatrixPrinter.java
+++ b/
test/jalview/schemes/ScoreMatrixPrinter.java
@@
-26,27
+26,29
@@
import java.util.Map;
import org.junit.Test;
import org.junit.Test;
-
-public class ScoreMatrixPrinter
+public class ScoreMatrixPrinter
{
@Test
public void printAllMatrices()
{
{
@Test
public void printAllMatrices()
{
- for (Map.Entry<String,ScoreModelI> sm: ResidueProperties.scoreMatrices.entrySet())
+ for (Map.Entry<String, ScoreModelI> sm : ResidueProperties.scoreMatrices
+ .entrySet())
{
{
- System.out.println("Matrix "+sm.getKey());
+ System.out.println("Matrix " + sm.getKey());
System.out.println(sm.getValue().toString());
}
}
System.out.println(sm.getValue().toString());
}
}
+
@Test
public void printHTMLMatrices()
{
@Test
public void printHTMLMatrices()
{
- for (Map.Entry<String,ScoreModelI> _sm: ResidueProperties.scoreMatrices.entrySet())
+ for (Map.Entry<String, ScoreModelI> _sm : ResidueProperties.scoreMatrices
+ .entrySet())
{
if (_sm.getValue() instanceof ScoreMatrix)
{
ScoreMatrix sm = (ScoreMatrix) _sm.getValue();
{
if (_sm.getValue() instanceof ScoreMatrix)
{
ScoreMatrix sm = (ScoreMatrix) _sm.getValue();
- System.out.println("Matrix "+_sm.getKey());
+ System.out.println("Matrix " + _sm.getKey());
System.out.println(sm.outputMatrix(true));
}
}
System.out.println(sm.outputMatrix(true));
}
}