removed unused private methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / text / rules / MultiViewPartitioner.java
index c51a4aa..5c8d6de 100644 (file)
@@ -16,7 +16,9 @@ package net.sourceforge.phpeclipse.ui.text.rules;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.eclipse.jface.text.Assert;
+//incastrix
+//import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
 import org.eclipse.jface.text.BadLocationException;
 import org.eclipse.jface.text.DocumentEvent;
 import org.eclipse.jface.text.IDocument;
@@ -518,26 +520,26 @@ public abstract class MultiViewPartitioner extends AbstractPartitioner {
                return (TypedRegion[]) list.toArray(new TypedRegion[list.size()]);
        }
 
-       private void showList(List list) {
-               try {
-                       throw new NullPointerException();
-               } catch (Exception e) {
-                       e.printStackTrace();
-               }
-               System.out.println(">>>>>List start");
-               TypedRegion temp;
-               for (int i = 0; i < list.size(); i++) {
-                       temp = (TypedRegion) list.get(i);
-                       System.out.print("Offset: ");
-                       System.out.print(temp.getOffset());
-                       System.out.print(", Length: ");
-                       System.out.print(temp.getLength());
-                       System.out.print(", Type: ");
-                       System.out.print(temp.getType());
-                       System.out.println("");
-               }
-               System.out.println("<<<<<List end");
-       }
+//     private void showList(List list) {
+//             try {
+//                     throw new NullPointerException();
+//             } catch (Exception e) {
+//                     e.printStackTrace();
+//             }
+//             System.out.println(">>>>>List start");
+//             TypedRegion temp;
+//             for (int i = 0; i < list.size(); i++) {
+//                     temp = (TypedRegion) list.get(i);
+//                     System.out.print("Offset: ");
+//                     System.out.print(temp.getOffset());
+//                     System.out.print(", Length: ");
+//                     System.out.print(temp.getLength());
+//                     System.out.print(", Type: ");
+//                     System.out.print(temp.getType());
+//                     System.out.println("");
+//             }
+//             System.out.println("<<<<<List end");
+//     }
 
        private void addOuterPartitions(List list, int offset, int length,
                        FlatNode prev, FlatNode next) {