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-2871 JAL-2877 hideous attempt at seeing if non-static configuration
[jalview.git]
/
src
/
jalview
/
schemes
/
FeatureColour.java
diff --git
a/src/jalview/schemes/FeatureColour.java
b/src/jalview/schemes/FeatureColour.java
index
b748d9e
..
54d1c6c
100644
(file)
--- a/
src/jalview/schemes/FeatureColour.java
+++ b/
src/jalview/schemes/FeatureColour.java
@@
-125,8
+125,8
@@
public class FeatureColour implements FeatureColourI
Color colour = ColorUtils.parseColourString(descriptor);
if (colour == null)
{
Color colour = ColorUtils.parseColourString(descriptor);
if (colour == null)
{
- throw new IllegalArgumentException("Invalid colour descriptor: "
- + descriptor);
+ throw new IllegalArgumentException(
+ "Invalid colour descriptor: " + descriptor);
}
return new FeatureColour(colour);
}
}
return new FeatureColour(colour);
}
@@
-236,8
+236,8
@@
public class FeatureColour implements FeatureColourI
{
if (!ttype.toLowerCase().startsWith("no"))
{
{
if (!ttype.toLowerCase().startsWith("no"))
{
- System.err.println("Ignoring unrecognised threshold type : "
- + ttype);
+ System.err.println(
+ "Ignoring unrecognised threshold type : " + ttype);
}
}
}
}
}
}
@@
-256,8
+256,8
@@
public class FeatureColour implements FeatureColourI
}
if (gcol.hasMoreTokens())
{
}
if (gcol.hasMoreTokens())
{
- System.err
- .println("Ignoring additional tokens in parameters in graduated colour specification\n");
+ System.err.println(
+ "Ignoring additional tokens in parameters in graduated colour specification\n");
while (gcol.hasMoreTokens())
{
System.err.println("|" + gcol.nextToken());
while (gcol.hasMoreTokens())
{
System.err.println("|" + gcol.nextToken());
@@
-542,8
+542,7
@@
public class FeatureColour implements FeatureColourI
{
if (isColourByLabel())
{
{
if (isColourByLabel())
{
- return ColorUtils
- .createColourFromName(feature.getDescription());
+ return ColorUtils.createColourFromName(feature.getDescription());
}
if (!isGraduatedColour())
}
if (!isGraduatedColour())