| 
| Eclipse 3.3 - How to configure multiple filters in the problem pane? [message #50018] | Fri, 26 October 2007 04:31  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: adam.lipscombe.qucs.co.uk 
 Folks
 
 
 I have lots of compile warnings, many of them about two unused static variables that are present in
 all my classes.
 
 They are:
 private static final String MODULE_ID = "$Header: $";
 private static final String COPYRIGHT = "Copyright blah blah";
 
 
 
 I want to filter out any warnings to do with both of these. I can easily setup a filter to remove
 messages to do with one, but when I add another filter and tick it, I see error messages for both.
 
 I want to filter out warnings about MODULE_ID and COPYRIGHT
 
 
 Is this possible? If so how?
 
 
 Thanks - Adam
 |  |  |  | 
| 
| Re: Eclipse 3.3 - How to configure multiple filters in the problem pane? [message #50049 is a reply to message #50018] | Fri, 26 October 2007 08:11  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: merks.ca.ibm.com 
 Adam,
 
 This newsgroup isn't for technical questions.  Please use either
 news://news.eclipse.org/eclipse.platform or
 news://news.eclipse.org/eclipse.newcomer for questions like this.
 
 You could change
 "Window->Preference->Java->Compiler->Errors/Warrnings->Unecessary
 code->Unused local or private member" to ignore all such problems, or if
 you are using Java 5.0 or greater, you could add
 @SuppressWarnings("unused") the declaration.
 
 
 Adam Lispcombe wrote:
 > Folks
 >
 >
 > I have lots of compile warnings, many of them about two unused static
 > variables that are present in all my classes.
 >
 > They are:
 > private static final String MODULE_ID = "$Header: $";
 > private static final String COPYRIGHT = "Copyright blah blah";
 >
 >
 >
 > I want to filter out any warnings to do with both of these. I can
 > easily setup a filter to remove messages to do with one, but when I
 > add another filter and tick it, I see error messages for both.
 >
 > I want to filter out warnings about MODULE_ID and COPYRIGHT
 >
 >
 > Is this possible? If so how?
 >
 >
 > Thanks - Adam
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03371 seconds