Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] New unused method/type/ctor/field diagnostics from Java compiler.

Hi Nitin,

out of the box the 'Unused local or private member' setting on the Java >
Compiler > Errors/Warnings page is set to WARNING i.e. you won't get errors
unless you've changed that to be an ERROR. Note that some of the newly
reported unused code might be important code that you thought it's used/run
but it isn't. If you have specific code patterns that you see wrongly
flagged please file a bug report against JDT Core.

Dani


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Nitin Dahyabhai <nitind@xxxxxxxxxx>                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>                                                              |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |25.02.2009 22:06                                                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [eclipse-dev] New unused method/type/ctor/field diagnostics from    Java compiler.                                                            |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





It seems more than a little presumptive to just have this enabled
when you can't fairly estimate how much source will suddenly be
flagged as erroneous.  Is there any way to disable this diagnostic?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev





Back to the top