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

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2007-06-24 03:30:26 +00:00
parent be91d228c5
commit cbb7bded12
1 changed files with 1 additions and 1 deletions

View File

@ -1911,7 +1911,7 @@ public class SelectImpl
}
}
if (!fromParent && _parent != null) {
boolean removeAliasFromParent = key.toString().contains(":");
boolean removeAliasFromParent = key.toString().indexOf(":") != -1;
alias = _parent.findAlias(table, key, removeAliasFromParent, this);
if (alias != null) {
if (removeAliasFromParent) {