Skip to content

Commit

Permalink
Issue OpenLiberty#28908 remove workaround from code after fix of 2184
Browse files Browse the repository at this point in the history
  • Loading branch information
njr-11 committed Sep 17, 2024
1 parent 22206a8 commit a1c11a8
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2502,13 +2502,6 @@ private void initQueryLanguage(String ql, Map<String, CompletableFuture<EntityIn

// TODO remove this workaround for #28931 once fixed
boolean insertEntityVar = !entityInfo.relationAttributeNames.isEmpty();
if (!insertEntityVar)
for (int i = startAt; !insertEntityVar && i < length; i++)
switch (ql.charAt(i)) {
case '(': // TODO remove this workaround for #28908 once fixed
insertEntityVar = ql.regionMatches(true, i - 2, "ID", 0, 2);
break;
}
if (insertEntityVar) {
entityVar = "o";
entityVar_ = "o.";
Expand Down

0 comments on commit a1c11a8

Please sign in to comment.