Changeset 2250 for trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs
- Timestamp:
- 12/11/17 15:16:54 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCJacaretoReplayGenerator.java
r2249 r2250 158 158 public String toString() { 159 159 String separator = System.getProperty("line.separator"); 160 String result = content + separator; 160 StringBuffer result = new StringBuffer(content); 161 result.append(separator); 161 162 162 163 for (StructureNode child : children) { 163 result += child.toString();164 result.append(child.toString()); 164 165 } 165 166 166 167 if (content.endsWith("/>")) { 167 return result; 168 } 169 return result + "</StructureElement>" + separator; 168 return result.toString(); 169 } 170 171 result.append("</StructureElement>"); 172 result.append(separator); 173 174 return result.toString(); 170 175 } 171 176 }
Note: See TracChangeset
for help on using the changeset viewer.