Community
Participate
Working Groups
I should be able to suppresswarning for a warning caused by an access restriction. I'm sorry if this is possible, but it doesn't work through auto-correct, and I can't figure out the name of the warning to suppress.
Access restrictions warnings could be added to the irritant list. Philippe, any objection? Of course using "all" should be fine.
We could add a "restriction" irritant indeed. Martin - would you support it in the UI ? (quickfix)
Quick fix uses CorrectionEngine.getWarningToken(problem.getProblemId()); to get the token, so no changed needed on out side.
Would warning token "restriction" appeal to all ?
Added support in CompilerOptions. Maxime: could you add testcase (batch test likely) ? Also edit doc to mention this new warning token.
Created attachment 34009 [details] Test case (using BatchCompilerTest)
Since the list of warning tokens has no natural home in the documentation yet (only cited into 'What's new in version 3.1' section), I close the bug without editing the doc. Olivier offered to determine the best place to add a complete list of the supported warning tokens, which will complete the doc requirements.
Thanks everyone... This is great! Looking forward to M5! - ian
Verified for 3.2 M5 using build I20060214-0010