mirror of https://github.com/apache/openjpa.git
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:
parent
9f0a7ff545
commit
79827a90f6
|
@ -52,6 +52,6 @@ public class TestWASManagedRuntime extends TestCase {
|
||||||
getClassName(WASManagedRuntime.INTERFACE);
|
getClassName(WASManagedRuntime.INTERFACE);
|
||||||
assertTrue("message should have contained "
|
assertTrue("message should have contained "
|
||||||
+ interfaceName + ", but was '" + msg + "'",
|
+ interfaceName + ", but was '" + msg + "'",
|
||||||
msg.contains(interfaceName));
|
msg.indexOf(interfaceName) != -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue