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-3438 spotless for 2.11.2.0
[jalview.git]
/
src
/
jalview
/
schemes
/
FeatureColour.java
diff --git
a/src/jalview/schemes/FeatureColour.java
b/src/jalview/schemes/FeatureColour.java
index
e5bda58
..
f1bade1
100644
(file)
--- a/
src/jalview/schemes/FeatureColour.java
+++ b/
src/jalview/schemes/FeatureColour.java
@@
-48,8
+48,9
@@
import java.util.StringTokenizer;
* <li>the range may be the full value range, or may be limited by the threshold
* value</li>
* </ul>
* <li>the range may be the full value range, or may be limited by the threshold
* value</li>
* </ul>
- * <li>colour by (text) value of a named attribute</li> <li>graduated colour by
- * (numeric) value of a named attribute</li> </ul>
+ * <li>colour by (text) value of a named attribute</li>
+ * <li>graduated colour by (numeric) value of a named attribute</li>
+ * </ul>
*/
public class FeatureColour implements FeatureColourI
{
*/
public class FeatureColour implements FeatureColourI
{
@@
-698,8
+699,8
@@
public class FeatureColour implements FeatureColourI
{
String label = attributeName == null ? feature.getDescription()
: feature.getValueAsString(attributeName);
{
String label = attributeName == null ? feature.getDescription()
: feature.getValueAsString(attributeName);
- return label == null ? noColour : ColorUtils
- .createColourFromName(label);
+ return label == null ? noColour
+ : ColorUtils.createColourFromName(label);
}
if (!isGraduatedColour())
}
if (!isGraduatedColour())
@@
-825,7
+826,7
@@
public class FeatureColour implements FeatureColourI
sb.append(BAR).append(Format.getHexString(getMinColour()))
.append(BAR);
sb.append(Format.getHexString(getMaxColour())).append(BAR);
sb.append(BAR).append(Format.getHexString(getMinColour()))
.append(BAR);
sb.append(Format.getHexString(getMaxColour())).append(BAR);
-
+
/*
* 'no value' colour should be null, min or max colour;
* if none of these, coerce to minColour
/*
* 'no value' colour should be null, min or max colour;
* if none of these, coerce to minColour