FailedChanges

Summary

  1. Bug 569336 - Support custom formatting options at compilation unit level (details)
  2. Bug 567975 - AssertionFailedException thrown by o.e.ltk.ui.refactoring (details)
Commit 21e1b31837b67234715496b5b73638bc3dae4268 by Roland Grunberg
Bug 569336 - Support custom formatting options at compilation unit level

- Add new setter and getter to the ICompilationUnit to configure
custom formatting options
- Save the custom options just in memory but not persist them in
the preference store
- Adopt the new API to fetch the formatting options from the
ICompilationUnit when rewriting AST

Change-Id: I1ecf9d7c673bb452b4e135fdbad29010c7f0b44e
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/core/ICompilationUnit.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompilationUnitTests.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
The file was modifiedorg.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ASTRewrite.java
The file was modifiedorg.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitElementInfo.java
Commit babeca48101828a5e0f0b65ec684699efb4bc8e5 by Jeff Johnston
Bug 567975 - AssertionFailedException thrown by o.e.ltk.ui.refactoring

- fix ASTRewriteAnalyzer.visit(YieldStatement) to check for an
  implicit yield statement before scanning the file for the end
- add new test to ASTRewritingSwitchExpressionsTest

Change-Id: I38faa5b830f98feb0ca081c52ef7ec80d2efadba
The file was modifiedorg.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/rewrite/describing/ASTRewritingSwitchExpressionsTest.java
The file was modifiedorg.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java