Permalink
Browse files

#416: "=" can occur in r1/r2/m1/m2 value of relations

1 parent 9a54824 commit bc4285506faec9400d74e23e1049621055bd079d @afdia afdia committed Nov 22, 2016
@@ -107,8 +107,7 @@ private void printMiddleDescription(RelationPointHandler relationPoints, DrawHan
private void printEndDescriptions(Map<String, Point> displacements, RelationPointHandler relationPoints, DrawHandler drawer, Set<Integer> usedIndexes, List<String> otherLines) {
for (String line : otherLines) {
LineDescriptionEnum enumVal = LineDescriptionEnum.forString(line);
- String[] split = line.split(KeyValueFacet.SEP, -1);
- String text = split[1];
+ String text = line.substring(line.indexOf(KeyValueFacet.SEP) + 1);
if (!text.isEmpty()) {
Rectangle textSpace = null;
String[] splitAtLineEndChar = SharedUtils.splitAtLineEndChar(text);

0 comments on commit bc42855

Please sign in to comment.