commit | 9c185b0d08ab7f04de09acb80fd724dd56280092 | [log] [tgz] |
---|---|---|
author | Kentarou Fukuda <kentarou@jp.ibm.com> | Thu Sep 14 00:52:09 2017 +0900 |
committer | Kentarou Fukuda <kentarou@jp.ibm.com> | Thu Sep 14 00:52:09 2017 +0900 |
tree | a7fd3c5ce74826f0f5c209b30ad00bf825159ce0 | |
parent | 92c8365636c9e6aa2fd57fc32d78ce10d1f0fe19 [diff] |
Bug 518322 - Possible issue with redundant text
diff --git a/plugins/org.eclipse.actf.visualization.engines.blind/src/org/eclipse/actf/visualization/engines/blind/TextChecker.java b/plugins/org.eclipse.actf.visualization.engines.blind/src/org/eclipse/actf/visualization/engines/blind/TextChecker.java index 469854f..d39e89b 100644 --- a/plugins/org.eclipse.actf.visualization.engines.blind/src/org/eclipse/actf/visualization/engines/blind/TextChecker.java +++ b/plugins/org.eclipse.actf.visualization.engines.blind/src/org/eclipse/actf/visualization/engines/blind/TextChecker.java
@@ -137,10 +137,10 @@ if ((prevText != null) && (prevText.length() > 1) && (curText.length() > 1)) { - String prevText2 = prevText.replaceAll("\\[|\\]|\\.|\\!|\\>", NULL_STRING); //$NON-NLS-1$ + String prevText2 = prevText.replaceAll("\\[|\\]|\\.|\\!|\\>|\\n", NULL_STRING); //$NON-NLS-1$ prevText2 = prevText2.trim(); - String curText2 = curText.replaceAll("\\[|\\]|\\.|\\!|\\>", NULL_STRING); //$NON-NLS-1$ + String curText2 = curText.replaceAll("\\[|\\]|\\.|\\!|\\>|\\n", NULL_STRING); //$NON-NLS-1$ curText2 = curText2.trim(); if (curText2.equalsIgnoreCase(prevText2)) {