Revert some IntelliJ inspection improvements

The inspection held true only for the commercial distribution, which is also the dev distribution, not for the OSS edition
This commit is contained in:
Lukas Eder 2021-10-21 15:59:10 +02:00
parent 3502d03347
commit 602a66536e
2 changed files with 2006 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@ -10784,12 +10784,12 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
}
private final Field<?> parseAggregateFunctionIf(boolean basic, AggregateFunction<?> f) {
AggregateFunction<?> agg;
AggregateFilterStep<?> filter;
WindowBeforeOverStep<?> over;
Object keep;
Field<?> result;
Condition condition;
AggregateFunction<?> agg = null;
AggregateFilterStep<?> filter = null;
WindowBeforeOverStep<?> over = null;
Object keep = null;
Field<?> result = null;
Condition condition = null;
keep = over = filter = agg = f != null ? f : parseCountIf();
if (filter == null) {