Refactory: smarty.ui plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / impl / BooleanConstant.java
index 6af6c00..8e34eb4 100644 (file)
@@ -13,26 +13,29 @@ package net.sourceforge.phpdt.internal.compiler.impl;
 public class BooleanConstant extends Constant {
        boolean value;
 
-       
-public BooleanConstant(boolean value) {
-       this.value = value;
-}
-public boolean booleanValue() {
-       return (boolean) value;
-}
-public String stringValue() {
-       //spec 15.17.11
-       
-       String s = new Boolean(value).toString() ;
-       if (s == null)
-               return "null"; //$NON-NLS-1$
-       else
-               return s;
-}
-public String toString(){
+       public BooleanConstant(boolean value) {
+               this.value = value;
+       }
 
-       return "(boolean)" + value ; } //$NON-NLS-1$
-public int typeID() {
-       return T_boolean;
-}
+       public boolean booleanValue() {
+               return (boolean) value;
+       }
+
+       public String stringValue() {
+               // spec 15.17.11
+
+               String s = new Boolean(value).toString();
+               if (s == null)
+                       return "null"; //$NON-NLS-1$
+               else
+                       return s;
+       }
+
+       public String toString() {
+
+               return "(boolean)" + value;} //$NON-NLS-1$
+
+       public int typeID() {
+               return T_boolean;
+       }
 }