Subversion Repositories SmartDukaan

Rev

Rev 35169 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35169 Rev 35869
Line 202... Line 202...
202
    public String getColorNatural() {
202
    public String getColorNatural() {
203
        return this.color;
203
        return this.color;
204
    }
204
    }
205
 
205
 
206
    public void setColor(String color) {
206
    public void setColor(String color) {
207
        this.color = color;
207
        this.color = color != null ? color.replaceAll("^[\\s\\u00A0]+|[\\s\\u00A0]+$", "") : color;
208
    }
208
    }
209
 
209
 
210
    public ItemType getType() {
210
    public ItemType getType() {
211
        return type;
211
        return type;
212
    }
212
    }