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@550158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be91d228c5
commit
cbb7bded12
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue