Changeset 15901 in josm for trunk/src/com/kitfox/svg/SVGElement.java
- Timestamp:
- 2020-02-22T19:40:23+01:00 (6 years ago)
- File:
-
- 1 edited
-
trunk/src/com/kitfox/svg/SVGElement.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/SVGElement.java
r14643 r15901 260 260 if (this.id != null && !this.id.equals("")) 261 261 { 262 this.id = this.id.intern(); 262 263 diagram.setElement(this.id, this); 263 264 } 264 265 265 266 String className = attrs.getValue("class"); 266 this.cssClass = (className == null || className.equals("")) ? null : className; 267 this.cssClass = (className == null || className.equals("")) ? null : className.intern(); 267 268 //docRoot = helper.docRoot; 268 269 //universe = helper.universe; … … 298 299 String value = attrs.getValue(i); 299 300 300 presAttribs.put(name, new StyleAttribute(name, value)); 301 presAttribs.put(name, new StyleAttribute(name, value == null ? null : value.intern())); 301 302 } 302 303 }
Note:
See TracChangeset
for help on using the changeset viewer.
