fixed MarkImpl.toString() for null color

This commit is contained in:
Axel Uhl committed 2013-08-07 15:56:38 +02:00
1 parent c090476ef8
commit a6be7f0d23
1 file changed
+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();
}
}