mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 18:33:54 +00:00
fixed MarkImpl.toString() for null color
This commit is contained in:
1 parent
c090476ef8
commit
a6be7f0d23
1 file changed
+1
-1
+1
-1
@@ -73,6 +73,6 @@ public class MarkImpl extends NamedImpl implements Mark {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getId() + " " + getColor() + super.toString();
|
||||
return getId() + " " + (getColor()==null?"":(getColor()+" ")) + super.toString();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user