Skip to content

[NETBEANS-3075] - reduce number of warning w/ raw type iterator#1492

Merged
matthiasblaesing merged 1 commit intoapache:masterfrom
BradWalker:cleanup_raw_type_iterator
Sep 11, 2019
Merged

[NETBEANS-3075] - reduce number of warning w/ raw type iterator#1492
matthiasblaesing merged 1 commit intoapache:masterfrom
BradWalker:cleanup_raw_type_iterator

Conversation

@BradWalker
Copy link
Copy Markdown
Member

I've tried to reduce the amount of iterator raw type warnings that are emitted..

Here is an example of what I'm trying to fix.

   [repeat] /home/bwalker/netbeans/enterprise/websvc.manager/src/org/netbeans/modules/websvc/manager/model/WebServiceGroup.java:102: warning: [rawtypes] found raw type: Iterator
   [repeat]             Iterator iter = listeners.iterator();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator

I've tried to reduce the amount of iterator raw type warnings that are emitted..

Here is an example of what I'm trying to fix.

   [repeat] /home/bwalker/netbeans/enterprise/websvc.manager/src/org/netbeans/modules/websvc/manager/model/WebServiceGroup.java:102: warning: [rawtypes] found raw type: Iterator
   [repeat]             Iterator iter = listeners.iterator();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
@matthiasblaesing
Copy link
Copy Markdown
Contributor

Looks sane. Thank you.

@matthiasblaesing matthiasblaesing merged commit 0580490 into apache:master Sep 11, 2019
@junichi11 junichi11 added this to the 11.2 milestone Sep 11, 2019
@BradWalker BradWalker deleted the cleanup_raw_type_iterator branch October 18, 2019 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants