|
|
Re: hidden-field preference? [message #19644 is a reply to message #19137] |
Mon, 12 May 2003 08:52 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Philippe Mulet![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=philippe_mulet%40fr.ibm.com) Messages: 229 Registered: July 2009 |
Senior Member |
|
|
This diagnosis was recently introduced, and left as a warning by default for
testing purpose, until some UI preference is added (should occur soon).
Once UI is available, we will have it default to 'ignore'. Remember that
these integration builds are meant for testing.
"Jonathan Gossage" <jgossage@magma.ca> wrote in message
news:b9l5lf$3vd$1@rogue.oti.com...
>
> "Tom Roche" <tlroche@us.ibm.com> wrote in message
> news:b9k0lo$h91$1@rogue.oti.com...
> > I just stepped up to I20030507 from 2.1 final, and got a ton of
> > warnings! In my workspace I have 1 public static final String
> > copyright per class, and a lot of classes, which means >700 warnings
> > like
> >
> > > The field Foo.copyright is hiding a field from type Bar
> >
> > I thought I could hide these with some setting in Prefs>Java>Compiler,
> > but even after I set everything to Ignore, I still get these warnings.
> > Is there another way to ignore or filter these warnings (without
> > filtering all warnings)? Or should I make a bug report/feature request?
> >
> You can use the task filter to get rid of the entries in the task list,
but
> this will do nothing for the problem markers. If the strings are just
there
> for legal purposes and do not have to be accessed programmatically, just
> make them private instead of public.
>
>
|
|
|
Re: hidden-field preference? [message #19689 is a reply to message #19644] |
Mon, 12 May 2003 08:58 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Philippe Mulet![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=philippe_mulet%40fr.ibm.com) Messages: 229 Registered: July 2009 |
Senior Member |
|
|
Note: one thing you can do to disable these extra diagnosis is:
1. shutdown Eclipse
2. edit the saved preference file:
<workspace>\.metadata\.plugins\org.eclipse.jdt.core\pref_store.ini
and append the following 2 lines:
------------
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ig nore
------------
3. restart Eclipse, and rebuild all
"Philippe Mulet" <philippe_mulet@fr.ibm.com> wrote in message
news:b9nnf1$br5$1@rogue.oti.com...
> This diagnosis was recently introduced, and left as a warning by default
for
> testing purpose, until some UI preference is added (should occur soon).
> Once UI is available, we will have it default to 'ignore'. Remember that
> these integration builds are meant for testing.
>
> "Jonathan Gossage" <jgossage@magma.ca> wrote in message
> news:b9l5lf$3vd$1@rogue.oti.com...
> >
> > "Tom Roche" <tlroche@us.ibm.com> wrote in message
> > news:b9k0lo$h91$1@rogue.oti.com...
> > > I just stepped up to I20030507 from 2.1 final, and got a ton of
> > > warnings! In my workspace I have 1 public static final String
> > > copyright per class, and a lot of classes, which means >700 warnings
> > > like
> > >
> > > > The field Foo.copyright is hiding a field from type Bar
> > >
> > > I thought I could hide these with some setting in Prefs>Java>Compiler,
> > > but even after I set everything to Ignore, I still get these warnings.
> > > Is there another way to ignore or filter these warnings (without
> > > filtering all warnings)? Or should I make a bug report/feature
request?
> > >
> > You can use the task filter to get rid of the entries in the task list,
> but
> > this will do nothing for the problem markers. If the strings are just
> there
> > for legal purposes and do not have to be accessed programmatically, just
> > make them private instead of public.
> >
> >
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04366 seconds