Hi

Working on CAMEL-771 I was surprised that the getLabel and toStrings on eg. 
ProcessorRef uses two spaces. Since other models do this as well I think it is 
on purpose. But as I am curios of nature I would like to know why?

Eg: two spaces here:
"ref:  "


    @Override
    public String toString() {
        return "Processor["
                + ((ref != null) ? "ref:  " + ref : processor)
                + "]";
    }

    @Override
    public String getLabel() {
        if (ref != null) {
            return "ref:  " + ref;
        } else if (processor != null) {
            return processor.toString();
        } else {
            return "";
        }
    }

Med venlig hilsen

Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

Reply via email to