1) Although dbg will be dropped from being supported or bundled with PHPeclipse,...
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / model / PHPValue.java
index e20be3d..18b11b2 100644 (file)
@@ -42,20 +42,20 @@ public class PHPValue implements IValue {
                        "soft reference" };                                                                     // 9
 
        public final static int PEVT_UNKNOWN            = 0;
-       public final static int PEVT_LONG               = 1;
+       public final static int PEVT_LONG                       = 1;
        public final static int PEVT_DOUBLE             = 2;
        public final static int PEVT_STRING             = 3;
-       public final static int PEVT_ARRAY              = 4;
+       public final static int PEVT_ARRAY                      = 4;
        public final static int PEVT_OBJECT             = 5;
        public final static int PEVT_BOOLEAN            = 6;
-       public final static int PEVT_RESOURCE   = 7;
+       public final static int PEVT_RESOURCE           = 7;
        public final static int PEVT_REF                        = 8;
        public final static int PEVT_SOFTREF            = 9;
 
        private int                     fValueType;                                                     // The type of this value (see the PEVT_... values)
        //private boolean               hasChildren;                                                    // This value (variable) has children (more variables)
-       private String          fValueString;                                                   // The value of this variable as text
-       private Vector          fVariables;                                                     // The children of this variable (other variables) if any
+       private String                  fValueString;                                                   // The value of this variable as text
+       private Vector                  fVariables;                                                     // The children of this variable (other variables) if any
        private PHPStackFrame   fStackFrame;                                                    // The stackframe this value (variable) belongs to
        private boolean                 fHasChanged;                                                    // The value has changed between two suspends
                                                                                                                                        // This variable was moved from PHPVariable due to the fact,
@@ -78,12 +78,12 @@ public class PHPValue implements IValue {
         * @param fValueType  The type of this value (see the PEVT_... values).
         * @param subitems    This value has subitems.
         */
-       public PHPValue(PHPStackFrame frame, String value, int fValueType, Vector subitems) {
-               this.fValueType = fValueType;
+       public PHPValue (PHPStackFrame frame, String value, int fValueType, Vector subitems) {
+               this.fValueType   = fValueType;
                this.fValueString = value;
-               this.fStackFrame = frame;
-               this.fHasChanged = false;
-               this.fSorted = false;
+               this.fStackFrame  = frame;
+               this.fHasChanged  = false;
+               this.fSorted      = false;
 
                if (subitems != null) {                                                                         // If there are children for this value (variable)
                        this.fVariables = new Vector(subitems);                                 // Then add the children to this value (variable)
@@ -248,12 +248,14 @@ public class PHPValue implements IValue {
         */
        protected Object clone() throws CloneNotSupportedException {
                PHPValue val = new PHPValue();
-               val.fValueType = fValueType;
-               val.fValueString = fValueString;
-               val.fVariables = fVariables;
-               val.fStackFrame = fStackFrame;
-               val.fHasChanged = fHasChanged;
-               val.fSorted = fSorted;
+
+               val.fValueType          = fValueType;
+               val.fValueString        = fValueString;
+               val.fVariables          = fVariables;
+               val.fStackFrame         = fStackFrame;
+               val.fHasChanged         = fHasChanged;
+               val.fSorted             = fSorted;
+
                return val;
        }