Author: dgolovin
Date: 2008-10-20 19:10:54 -0400 (Mon, 20 Oct 2008)
New Revision: 11022
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2424 fixed
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2008-10-20
22:45:41 UTC (rev 11021)
+++
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2008-10-20
23:10:54 UTC (rev 11022)
@@ -123,7 +123,7 @@
do {
line = contentReader.readLine();
if(line!=null && !patternIsFound) {
- patternIsFound = line.matches(pattern);
+ patternIsFound = line.trim().matches(pattern);
}
} while (line != null && !patternIsFound);
return patternIsFound;