Bug 45779 - Hiding Field should not be reported on static classes
Summary: Hiding Field should not be reported on static classes
Status: RESOLVED DUPLICATE of bug 51075
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-30 04:00 EST by Dani Megert CLA
Modified: 2004-02-13 07:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2003-10-30 04:00:57 EST
I20031023

If I have a static class inside another class then fields from the static class
do not hide the fields from the outer class since it is static anyway. While in
non-static case it might be a potential error it is only a style issue in
combination with static classes. I would prefer to separate those so that I can
flag the non-static case as error and the static case as warning.
Comment 1 Philipe Mulet CLA 2003-10-30 04:16:48 EST
Nice to have.
Comment 2 Philipe Mulet CLA 2004-02-13 07:44:14 EST
dup
Comment 3 Philipe Mulet CLA 2004-02-13 07:44:51 EST
see comment in bug 51075

*** This bug has been marked as a duplicate of 51075 ***