From: incastrix Date: Wed, 23 Dec 2009 17:54:59 +0000 (+0000) Subject: Refactory: remove unused classes, imports, fields and methods. X-Git-Url: http://git.phpeclipse.com Refactory: remove unused classes, imports, fields and methods. --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/FormatterOptions.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/FormatterOptions.java index 5297a14..7790d79 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/FormatterOptions.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/FormatterOptions.java @@ -217,44 +217,44 @@ public class FormatterOptions { * * @return int */ - public int getMaxLineLength() { - return maxLineLength; - } +// public int getMaxLineLength() { +// return maxLineLength; +// } - public int getTabSize() { - return tabSize; - } +// public int getTabSize() { +// return tabSize; +// } - public boolean isAddingNewLineBeforeOpeningBrace() { - return newLineBeforeOpeningBraceMode; - } +// public boolean isAddingNewLineBeforeOpeningBrace() { +// return newLineBeforeOpeningBraceMode; +// } - public boolean isAddingNewLineInControlStatement() { - return newlineInControlStatementMode; - } +// public boolean isAddingNewLineInControlStatement() { +// return newlineInControlStatementMode; +// } - public boolean isAddingNewLineInEmptyBlock() { - return newLineInEmptyBlockMode; - } +// public boolean isAddingNewLineInEmptyBlock() { +// return newLineInEmptyBlockMode; +// } - public boolean isClearingAllBlankLines() { - return clearAllBlankLinesMode; - } +// public boolean isClearingAllBlankLines() { +// return clearAllBlankLinesMode; +// } - public boolean isCompactingAssignment() { - return compactAssignmentMode; - } +// public boolean isCompactingAssignment() { +// return compactAssignmentMode; +// } - public boolean isCompactingDereferencing() { - return compactDereferencingMode; - } +// public boolean isCompactingDereferencing() { +// return compactDereferencingMode; +// } // public boolean isCompactingElseIf() { // return compactElseIfMode; // } - public boolean isUsingTabForIndenting() { - return indentWithTab; - } +// public boolean isUsingTabForIndenting() { +// return indentWithTab; +// } public void setLineSeparator(String lineSeparator) { lineSeparatorSequence = lineSeparator.toCharArray(); @@ -263,9 +263,9 @@ public class FormatterOptions { /** * @deprecated - should use a Map when creating the options. */ - public void setMaxLineLength(int maxLineLength) { - this.maxLineLength = maxLineLength; - } +// public void setMaxLineLength(int maxLineLength) { +// this.maxLineLength = maxLineLength; +// } /** * @deprecated - should use a Map when creating the options. */ diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/SplitLine.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/SplitLine.java index 90297d7..51de1a4 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/SplitLine.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/formatter/impl/SplitLine.java @@ -25,19 +25,19 @@ public class SplitLine implements ITerminalSymbols { /** * SplitLine constructor comment. */ - public SplitLine(int[] operators, String[] substrings) { - this(operators, substrings, null); - } +// public SplitLine(int[] operators, String[] substrings) { +// this(operators, substrings, null); +// } /** * SplitLine constructor comment. */ - public SplitLine(int[] operators, String[] substrings, int[] startIndexes) { - super(); - this.operators = operators; - this.substrings = substrings; - this.startSubstringsIndexes = startIndexes; - } +// public SplitLine(int[] operators, String[] substrings, int[] startIndexes) { +// super(); +// this.operators = operators; +// this.substrings = substrings; +// this.startSubstringsIndexes = startIndexes; +// } /** * Prints a nice representation of the receiver