summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/bytecode/ArrayGet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/iciql/bytecode/ArrayGet.java')
-rw-r--r--src/main/java/com/iciql/bytecode/ArrayGet.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/main/java/com/iciql/bytecode/ArrayGet.java b/src/main/java/com/iciql/bytecode/ArrayGet.java
index 29516c2..5ea2b74 100644
--- a/src/main/java/com/iciql/bytecode/ArrayGet.java
+++ b/src/main/java/com/iciql/bytecode/ArrayGet.java
@@ -26,24 +26,24 @@ import com.iciql.Token;
*/
public class ArrayGet implements Token {
- private final Token variable;
- private final Token index;
-
- private ArrayGet(Token variable, Token index) {
- this.variable = variable;
- this.index = index;
- }
-
- static ArrayGet get(Token variable, Token index) {
- return new ArrayGet(variable, index);
- }
-
- public <T> void appendSQL(SQLStatement stat, Query<T> query) {
- // untested
- variable.appendSQL(stat, query);
- stat.appendSQL("[");
- index.appendSQL(stat, query);
- stat.appendSQL("]");
- }
+ private final Token variable;
+ private final Token index;
+
+ private ArrayGet(Token variable, Token index) {
+ this.variable = variable;
+ this.index = index;
+ }
+
+ static ArrayGet get(Token variable, Token index) {
+ return new ArrayGet(variable, index);
+ }
+
+ public <T> void appendSQL(SQLStatement stat, Query<T> query) {
+ // untested
+ variable.appendSQL(stat, query);
+ stat.appendSQL("[");
+ index.appendSQL(stat, query);
+ stat.appendSQL("]");
+ }
}