removed unused private methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / text / phpdoc / JavaDocAutoIndentStrategy.java
index 708a7b6..1995a11 100644 (file)
@@ -14,7 +14,7 @@ package net.sourceforge.phpdt.internal.ui.text.phpdoc;
 import java.text.BreakIterator;
 
 import net.sourceforge.phpdt.core.ICompilationUnit;
-import net.sourceforge.phpdt.core.IJavaElement;
+//import net.sourceforge.phpdt.core.IJavaElement;
 import net.sourceforge.phpdt.core.IMethod;
 import net.sourceforge.phpdt.core.ISourceRange;
 import net.sourceforge.phpdt.core.IType;
@@ -150,26 +150,26 @@ public class JavaDocAutoIndentStrategy extends
                }
        }
 
-       private String createJavaDocTags(IDocument document,
-                       DocumentCommand command, String indentation, String lineDelimiter,
-                       ICompilationUnit unit) throws CoreException, BadLocationException {
-               IJavaElement element = unit.getElementAt(command.offset);
-               if (element == null)
-                       return null;
-
-               switch (element.getElementType()) {
-               case IJavaElement.TYPE:
-                       return createTypeTags(document, command, indentation,
-                                       lineDelimiter, (IType) element);
-
-               case IJavaElement.METHOD:
-                       return createMethodTags(document, command, indentation,
-                                       lineDelimiter, (IMethod) element);
-
-               default:
-                       return null;
-               }
-       }
+//     private String createJavaDocTags(IDocument document,
+//                     DocumentCommand command, String indentation, String lineDelimiter,
+//                     ICompilationUnit unit) throws CoreException, BadLocationException {
+//             IJavaElement element = unit.getElementAt(command.offset);
+//             if (element == null)
+//                     return null;
+//
+//             switch (element.getElementType()) {
+//             case IJavaElement.TYPE:
+//                     return createTypeTags(document, command, indentation,
+//                                     lineDelimiter, (IType) element);
+//
+//             case IJavaElement.METHOD:
+//                     return createMethodTags(document, command, indentation,
+//                                     lineDelimiter, (IMethod) element);
+//
+//             default:
+//                     return null;
+//             }
+//     }
 
        /*
         * Removes start and end of a comment and corrects indentation and line