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:
Marc Prud'hommeaux 2007-04-24 21:50:49 +00:00
parent 9e044de7a7
commit 6bad8ff715
1 changed files with 1 additions and 1 deletions

View File

@ -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;