A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / parser / NLSLine.java
index 18f7135..cf8b0ed 100644 (file)
@@ -20,44 +20,43 @@ public class NLSLine {
 
        private List elements;
 
-
        public NLSLine() {
                this.elements = new ArrayList();
        }
-       
+
        /**
         * Adds a NLS element to this line.
         */
        public void add(StringLiteral element) {
                this.elements.add(element);
        }
-       
+
        /**
         * returns an Iterator over NLSElements
         */
        public Iterator iterator() {
                return this.elements.iterator();
        }
-       
+
        public StringLiteral get(int index) {
                return (StringLiteral) this.elements.get(index);
        }
-       
+
        public void set(int index, StringLiteral literal) {
                this.elements.set(index, literal);
        }
-       
+
        public boolean exists(int index) {
                return index >= 0 && index < this.elements.size();
        }
-       
-       public int size(){
+
+       public int size() {
                return this.elements.size();
        }
-       
+
        public String toString() {
-               StringBuffer result= new StringBuffer();
-               for (Iterator iter= iterator(); iter.hasNext(); ) {
+               StringBuffer result = new StringBuffer();
+               for (Iterator iter = iterator(); iter.hasNext();) {
                        result.append("\t"); //$NON-NLS-1$
                        result.append(iter.next().toString());
                        result.append("\n"); //$NON-NLS-1$