summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/bytecode/And.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/iciql/bytecode/And.java')
-rw-r--r--src/main/java/com/iciql/bytecode/And.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/main/java/com/iciql/bytecode/And.java b/src/main/java/com/iciql/bytecode/And.java
index 808a9c1..0b04525 100644
--- a/src/main/java/com/iciql/bytecode/And.java
+++ b/src/main/java/com/iciql/bytecode/And.java
@@ -26,21 +26,21 @@ import com.iciql.Token;
*/
public class And implements Token {
- private final Token left, right;
-
- private And(Token left, Token right) {
- this.left = left;
- this.right = right;
- }
-
- static And get(Token left, Token right) {
- return new And(left, right);
- }
-
- public <T> void appendSQL(SQLStatement stat, Query<T> query) {
- left.appendSQL(stat, query);
- stat.appendSQL(" AND ");
- right.appendSQL(stat, query);
- }
+ private final Token left, right;
+
+ private And(Token left, Token right) {
+ this.left = left;
+ this.right = right;
+ }
+
+ static And get(Token left, Token right) {
+ return new And(left, right);
+ }
+
+ public <T> void appendSQL(SQLStatement stat, Query<T> query) {
+ left.appendSQL(stat, query);
+ stat.appendSQL(" AND ");
+ right.appendSQL(stat, query);
+ }
}