Project: Eclipse_Platform_UI
Bug 359438 [Compatibility] Substantial chunk of dead code in ModeledPageLayout.insert(MUIElement, MUIElement, int, int)
Reported: 2011-09-29 11:25:01 | Status: verified fixed

There is a compiler warning about dead code in this method, and some static analysis with Remy proves that there is actually a substantial amount of code that imperically could never be running ... and if it did would be throwing NPEs It would probably be a good idea to delete the code or understand what the original intent was. The code in the method starts with boolean isStack = true and everything below it.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/ModeledPageLayout.java