aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/bytecode/ConstantString.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/iciql/bytecode/ConstantString.java')
-rw-r--r--src/main/java/com/iciql/bytecode/ConstantString.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/main/java/com/iciql/bytecode/ConstantString.java b/src/main/java/com/iciql/bytecode/ConstantString.java
index 985f97d..937082b 100644
--- a/src/main/java/com/iciql/bytecode/ConstantString.java
+++ b/src/main/java/com/iciql/bytecode/ConstantString.java
@@ -26,30 +26,30 @@ import com.iciql.util.StringUtils;
*/
public class ConstantString implements Constant {
- private final String value;
+ private final String value;
- private ConstantString(String value) {
- this.value = value;
- }
+ private ConstantString(String value) {
+ this.value = value;
+ }
- static ConstantString get(String v) {
- return new ConstantString(v);
- }
+ static ConstantString get(String v) {
+ return new ConstantString(v);
+ }
- public String toString() {
- return value;
- }
+ public String toString() {
+ return value;
+ }
- public int intValue() {
- return 0;
- }
+ public int intValue() {
+ return 0;
+ }
- public <T> void appendSQL(SQLStatement stat, Query<T> query) {
- stat.appendSQL(StringUtils.quoteStringSQL(value));
- }
+ public <T> void appendSQL(SQLStatement stat, Query<T> query) {
+ stat.appendSQL(StringUtils.quoteStringSQL(value));
+ }
- public Constant.Type getType() {
- return Constant.Type.STRING;
- }
+ public Constant.Type getType() {
+ return Constant.Type.STRING;
+ }
}