Remove use of JDK 1.5-only method String.contains().

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2007-06-18 18:18:55 +00:00
parent 9f0a7ff545
commit 79827a90f6
1 changed files with 1 additions and 1 deletions

View File

@ -52,6 +52,6 @@ public class TestWASManagedRuntime extends TestCase {
getClassName(WASManagedRuntime.INTERFACE);
assertTrue("message should have contained "
+ interfaceName + ", but was '" + msg + "'",
msg.contains(interfaceName));
msg.indexOf(interfaceName) != -1);
}
}