Added patch for #1589521 "3 character function names invalid?"
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / LoadPathEntry.java
index e908153..92e2c43 100644 (file)
@@ -4,35 +4,36 @@ import org.eclipse.core.resources.IProject;
 import org.eclipse.core.runtime.IPath;
 
 public class LoadPathEntry {
-  public static final String TYPE_PROJECT = "project";
+       public static final String TYPE_PROJECT = "project";
 
-  protected IProject project;
-  protected String type;
+       protected IProject project;
 
-  public LoadPathEntry(IProject aProjectEntry) {
-    project = aProjectEntry;
-    type = TYPE_PROJECT;
-  }
+       protected String type;
 
-  public IPath getPath() {
-    return project.getFullPath();
-  }
+       public LoadPathEntry(IProject aProjectEntry) {
+               project = aProjectEntry;
+               type = TYPE_PROJECT;
+       }
 
-  public IProject getProject() {
-    return project;
-  }
+       public IPath getPath() {
+               return project.getFullPath();
+       }
 
-  public String getType() {
-    return type;
-  }
+       public IProject getProject() {
+               return project;
+       }
 
-  public String toXML() {
-    StringBuffer buffer = new StringBuffer();
+       public String getType() {
+               return type;
+       }
 
-    buffer.append("<pathentry type=\"");
-    buffer.append(type + "\" ");
-    buffer.append("path=\"" + getPath() + "\"/>");
+       public String toXML() {
+               StringBuffer buffer = new StringBuffer();
 
-    return buffer.toString();
-  }
+               buffer.append("<pathentry type=\"");
+               buffer.append(type + "\" ");
+               buffer.append("path=\"" + getPath() + "\"/>");
+
+               return buffer.toString();
+       }
 }