Changeset 1749 in josm
- Timestamp:
- 2009-07-08T20:41:54+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApiException.java
r1663 r1749 65 65 } 66 66 if (errorBody != null) { 67 sb.append(",Error Body=<") 68 .append(errorBody) 69 .append(">"); 67 errorBody = errorBody.replaceAll("^[ \n\t\r]+", "").replaceAll("[ \n\t\r]+$", ""); 68 if(!errorBody.equals(errorHeader)) { 69 sb.append(", Error Body=<") 70 .append(errorBody) 71 .append(">"); 72 } 70 73 } 71 74 return sb.toString();
Note:
See TracChangeset
for help on using the changeset viewer.