From 7d52459a8b62ed5bed2bbfcd830a0178ba6ca4c6 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 5 Dec 2026 20:16:42 +0000 Subject: Clarify method ordering --- .../hobgoblin/compiler/output/lang/sql/SqlWriter.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java b/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java index 6fb2813..de421fc 100644 --- a/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java +++ b/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java @@ -197,18 +197,18 @@ public class SqlWriter { this.writeExpression(binaryOperation.right()); } - private void writeColumnReference(SqlColumnReference columnReference) throws IOException { - this.writeIdentifier(columnReference.relationName()); - this.writer.write("."); - this.writeIdentifier(columnReference.columnName()); - } - private void writeBinaryOperator(SqlBinaryOperator operator) throws IOException { this.writer.write(switch (operator) { case EQUALS -> "=="; }); } + private void writeColumnReference(SqlColumnReference columnReference) throws IOException { + this.writeIdentifier(columnReference.relationName()); + this.writer.write("."); + this.writeIdentifier(columnReference.columnName()); + } + private void writeIntLiteral(SqlIntLiteral intLiteral) throws IOException { this.writer.write(Long.toString(intLiteral.value())); } -- cgit v1.2.3