Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NETBEANS-3807] - cleanup ArrayList rawtype warnings.. #1982

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

BradWalker
Copy link
Member

This code was previously reverted because it was checked in by accident during the release window..
It's been re-based and tested.

This change cleans up the following warning..

[repeat] /home/bwalker/src/netbeans/webcommon/javascript2.model/src/org/netbeans/modules/javascript2/model/ModelVisitor.java:1454: warning: [rawt
ypes] found raw type: ArrayList
[repeat] private List declaredVars = new ArrayList();
[repeat] ^
[repeat] missing type arguments for generic class ArrayList
[repeat] where E is a type-variable:
[repeat] E extends Object declared in class ArrayList

This change cleans up the following warning..

  [repeat] /home/bwalker/src/netbeans/webcommon/javascript2.model/src/org/netbeans/modules/javascript2/model/ModelVisitor.java:1454: warning: [rawt
ypes] found raw type: ArrayList
  [repeat]             private List<VarNode> declaredVars = new ArrayList();
  [repeat]                                                      ^
  [repeat]   missing type arguments for generic class ArrayList<E>
  [repeat]   where E is a type-variable:
  [repeat]     E extends Object declared in class ArrayList
@eirikbakke eirikbakke merged commit 11a439b into apache:master Feb 26, 2020
@eirikbakke
Copy link
Contributor

Thank you--done!

@BradWalker BradWalker deleted the cleanup_arraylist_rawtype branch February 26, 2020 18:23
@junichi11 junichi11 added this to the 12.0 milestone Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants