A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.ui / src / net / sourceforge / phpeclipse / xdebug / ui / EnvironmentVariable.java
index f615429..293bfe4 100644 (file)
@@ -3,16 +3,14 @@ package net.sourceforge.phpeclipse.xdebug.ui;
 /**
  * A key/value set whose data is passed into Runtime.exec(...)
  */
-public class EnvironmentVariable
-{
+public class EnvironmentVariable {
        // The name of the environment variable
        private String name;
-       
+
        // The value of the environment variable
        private String value;
-       
-       public EnvironmentVariable(String name, String value)
-       {
+
+       public EnvironmentVariable(String name, String value) {
                this.name = name;
                this.value = value;
        }
@@ -23,54 +21,57 @@ public class EnvironmentVariable
         * 
         * @return this variable's name
         */
-       public String getName()
-       {
+       public String getName() {
                return name;
        }
-       
+
        /**
         * Returns this variables value.
         * 
         * @return this variable's value
         */
-       public String getValue()
-       {
+       public String getValue() {
                return value;
        }
-               
+
        /**
         * Sets this variable's value
+        * 
         * @param value
         */
-       public void setValue(String value)
-       {
+       public void setValue(String value) {
                this.value = value;
        }
-       
-       /* (non-Javadoc)
+
+       /*
+        * (non-Javadoc)
+        * 
         * @see java.lang.Object#toString()
         */
        public String toString() {
                return getName();
        }
-       
-       
-       /* (non-Javadoc)
+
+       /*
+        * (non-Javadoc)
+        * 
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public boolean equals(Object obj) {
                boolean equal = false;
                if (obj instanceof EnvironmentVariable) {
-                       EnvironmentVariable var = (EnvironmentVariable)obj;
+                       EnvironmentVariable var = (EnvironmentVariable) obj;
                        equal = var.getName().equals(name);
                }
-               return equal;           
+               return equal;
        }
-       /* (non-Javadoc)
+
+       /*
+        * (non-Javadoc)
+        * 
         * @see java.lang.Object#hashCode()
         */
        public int hashCode() {
                return name.hashCode();
        }
 }
-