Skip to content

[NETBEANS-3659] - clean up List raw type warnings..#1838

Merged
matthiasblaesing merged 1 commit intoapache:masterfrom
BradWalker:cleanup_rawtype_list
Jan 4, 2020
Merged

[NETBEANS-3659] - clean up List raw type warnings..#1838
matthiasblaesing merged 1 commit intoapache:masterfrom
BradWalker:cleanup_rawtype_list

Conversation

@BradWalker
Copy link
Member

There are a lot of places where we get raw type warnings..

[repeat] /home/bwalker/src/netbeans/platform/core.multiview/src/org/netbeans/core/multiview/MultiViewPeer.java:1070: warning: [rawtypes] found raw type: List
[repeat] private List listeners = new ArrayList();
[repeat] ^
[repeat] missing type arguments for generic class List
[repeat] where E is a type-variable:
[repeat] E extends Object declared in interface List

Clean up a bunch of these warnings..

Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have two minimal comments (see inline).

There are a lot of places where we get raw type warnings..

   [repeat] /home/bwalker/src/netbeans/platform/core.multiview/src/org/netbeans/core/multiview/MultiViewPeer.java:1070: warning: [rawtypes] found raw type: List
   [repeat]         private List listeners = new ArrayList();
   [repeat]                 ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List

Clean up a bunch of these warnings..
@BradWalker BradWalker force-pushed the cleanup_rawtype_list branch 2 times, most recently from 43ded97 to 8f29822 Compare January 3, 2020 22:43
@matthiasblaesing
Copy link
Contributor

Thank you.

@matthiasblaesing matthiasblaesing merged commit c27f292 into apache:master Jan 4, 2020
@junichi11 junichi11 added this to the 11.3 milestone Jan 5, 2020
@junichi11 junichi11 added the Code cleanup Label for cleanup done on the Netbeans IDE label Jan 5, 2020
@BradWalker BradWalker deleted the cleanup_rawtype_list branch January 6, 2020 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code cleanup Label for cleanup done on the Netbeans IDE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants