Community
Participate
Working Groups
20050406 I updated Indents to support mixed tab/space indents. Two methods used by CreateTypeMemberOperation are now deprecated. The following patch brings CreateTypeMemberOperation up to date.
Created attachment 19593 [details] patch
Applying the path, several Java model tests are failing. Can you please investigate ?
In fact several tests in TypeHierarchyNotificationTest, RenameTests, SortCompilationUnitElementsTests and CopyMoveElementsTests are failing. But it seems that my changes have surfaced a bug at a different place: An assertion is thrown as the option DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR was not found in the options returned by JavaCore.getOptions(). When setting a breakpoint in JavaCore.getOptions ASTRewriteFormatter, line 134 you can see that only 5 options are returned Maybe it would better to not have an assert there, but at least this helped finding this bug. Let me know if I should remove it for now and tolerate the missing option. BTW: Jerome, not related to the bug, but note that CreateElementInCUOperation line 95 would better not pass null as options but take the options from the current IJavaProject.
Yes please remove your changes so that we don't break the nightly build.
filed bug 90580 for the missing options from JavaCore.getOptions
Applied patch.
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.