How do I suppress Eclipse 3.5's warnings of dead code

前端 未结 3 993
难免孤独
难免孤独 2021-02-07 09:44

I use a class for detecting email addresses which uses static final booleans to configure the matching behavior. Since I upgraded to Eclipse 3.5 I get warnings about dead code,

3条回答
  •  余生分开走
    2021-02-07 10:17

    Select Ignore in Windows -> Preferences > Java > Compiler > Errors/Warnings under Potential programming problems section

提交回复
热议问题