Changeset 95 for trunk/src/org/expeditee/gui/AttributeUtils.java
- Timestamp:
- 06/06/08 16:42:37 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/AttributeUtils.java
r88 r95 625 625 return ""; 626 626 627 int lineSeparator = toStrip.indexOf(Character.LINE_SEPARATOR); 628 if(lineSeparator > 0){ 629 toStrip = toStrip.substring(0,lineSeparator); 630 } 631 627 632 int ind = toStrip.lastIndexOf(SEPARATOR_CHAR); 628 633 … … 634 639 } 635 640 // It is a value with no attribute. 636 return toStrip ;641 return toStrip.trim(); 637 642 } 638 643 … … 663 668 } 664 669 670 /** 671 * 672 * @param text 673 * @param value 674 */ 665 675 public static void setSingleValue(Text text, String value) { 666 676 assert (value != null);
Note:
See TracChangeset
for help on using the changeset viewer.