A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / DefaultWorkingCopyOwner.java
index 6628114..e466002 100644 (file)
@@ -15,15 +15,15 @@ import net.sourceforge.phpdt.core.ICompilationUnit;
 import net.sourceforge.phpdt.core.WorkingCopyOwner;
 
 /**
- * A working copy owner that creates internal buffers.
- * It also defines the PRIMARY working copy owner that is used by JDT/Core.
+ * A working copy owner that creates internal buffers. It also defines the
+ * PRIMARY working copy owner that is used by JDT/Core.
  */
 public class DefaultWorkingCopyOwner extends WorkingCopyOwner {
-       
+
        public WorkingCopyOwner primaryBufferProvider;
-               
-       public static final DefaultWorkingCopyOwner PRIMARY =  new DefaultWorkingCopyOwner();
-       
+
+       public static final DefaultWorkingCopyOwner PRIMARY = new DefaultWorkingCopyOwner();
+
        private DefaultWorkingCopyOwner() {
                // only one instance can be created
        }
@@ -32,9 +32,11 @@ public class DefaultWorkingCopyOwner extends WorkingCopyOwner {
         * @deprecated Marked deprecated as it is using deprecated code
         */
        public IBuffer createBuffer(ICompilationUnit workingCopy) {
-               if (this.primaryBufferProvider != null) return this.primaryBufferProvider.createBuffer(workingCopy);
+               if (this.primaryBufferProvider != null)
+                       return this.primaryBufferProvider.createBuffer(workingCopy);
                return super.createBuffer(workingCopy);
        }
+
        public String toString() {
                return "Primary owner"; //$NON-NLS-1$
        }