mirror of https://github.com/apache/openjpa.git
Removed use of JDK 1.5+ String.contains() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9e044de7a7
commit
6bad8ff715
|
@ -388,7 +388,7 @@ public class MappingTool
|
|||
*/
|
||||
public SchemaGroup getSchemaGroup() {
|
||||
if (_schema == null) {
|
||||
if (_action.contains(ACTION_BUILD_SCHEMA)) {
|
||||
if (_action.indexOf(ACTION_BUILD_SCHEMA) != -1) {
|
||||
DynamicSchemaFactory factory = new DynamicSchemaFactory();
|
||||
factory.setConfiguration(_conf);
|
||||
_schema = factory;
|
||||
|
|
Loading…
Reference in New Issue