Make visiting a window conditional on its nullity.

This commit is contained in:
Bernd Haug 2018-03-16 14:56:53 +01:00 committed by GitHub
parent cba7839d6a
commit bdf520010e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ final class WindowDefinitionImpl extends AbstractQueryPart implements WindowDefi
.visit(K_AS)
.sql(" (");
if (window != null);
if (window != null)
ctx.visit(window);
ctx.sql(')');