Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2012-01-07 20:27:33 -0500
committerSergey Prigogin2012-01-07 20:27:33 -0500
commite7aa4a2154b590c787b4e975ae807b4b7f676406 (patch)
tree3e8d656118849910ab26721817d7247e742a317a /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite
parent07ad10c78fd4c628313e6ab1b5ba5df933bad08e (diff)
downloadorg.eclipse.cdt-e7aa4a2154b590c787b4e975ae807b4b7f676406.tar.gz
org.eclipse.cdt-e7aa4a2154b590c787b4e975ae807b4b7f676406.tar.xz
org.eclipse.cdt-e7aa4a2154b590c787b4e975ae807b4b7f676406.zip
@Override annotations and redundant casts.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/changegenerator/ChangeGenerator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/changegenerator/ChangeGenerator.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/changegenerator/ChangeGenerator.java
index db3ed82139..c03a92b63a 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/changegenerator/ChangeGenerator.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/changegenerator/ChangeGenerator.java
@@ -372,7 +372,7 @@ public class ChangeGenerator extends ASTVisitor {
DefaultCodeFormatterConstants.FALSE);
CodeFormatter formatter = ToolFactory.createCodeFormatter(options);
code = document.get();
- TextEdit[] formatEdits = formatter.format(CCodeFormatter.K_TRANSLATION_UNIT, code,
+ TextEdit[] formatEdits = formatter.format(CodeFormatter.K_TRANSLATION_UNIT, code,
regionsAfter, TextUtilities.getDefaultLineDelimiter(document));
// For each of the regions we apply formatting changes and create a ReplaceEdit using

Back to the top