Author: dgolovin
Date: 2008-10-20 19:12:16 -0400 (Mon, 20 Oct 2008)
New Revision: 11023
Modified:
branches/jbosstools-3.0.0.Beta1/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:
branches/jbosstools-3.0.0.Beta1/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
===================================================================
---
branches/jbosstools-3.0.0.Beta1/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2008-10-20
23:10:54 UTC (rev 11022)
+++
branches/jbosstools-3.0.0.Beta1/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2008-10-20
23:12:16 UTC (rev 11023)
@@ -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;