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

Cleanup warnings related to Enumeration rawtype #3643

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

BradWalker
Copy link
Member

Cleanup a bunch of warnings that look like this..

[repeat] /home/bwalker/src/netbeans/ide/xml.core/src/org/netbeans/modules/xml/api/model/GrammarQueryManager.java:153: warning: [rawtypes] found raw type: Enumeration
[repeat] Enumeration en = ctx.getDocumentChildren();
[repeat] ^
[repeat] missing type arguments for generic class Enumeration
[repeat] where E is a type-variable:
[repeat] E extends Object declared in interface Enumeration


^Add meaningful description above

By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -

  • are all your own work, and you have the right to contribute them.
  • are contributed solely under the terms and conditions of the Apache License 2.0 (see section 5 of the license for more information).

Please make sure (eg. git log) that all commits have a valid name and email address for you in the Author field.

If you're a first time contributor, see the Contributing guidelines for more information.

Cleanup a bunch of warnings that look like this..

   [repeat] /home/bwalker/src/netbeans/ide/xml.core/src/org/netbeans/modules/xml/api/model/GrammarQueryManager.java:153: warning: [rawtypes] found raw type: Enumeration
   [repeat]                 Enumeration en = ctx.getDocumentChildren();
   [repeat]                 ^
   [repeat]   missing type arguments for generic class Enumeration<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Enumeration
@BradWalker BradWalker merged commit 815fe02 into apache:master Feb 19, 2022
@BradWalker BradWalker added Code cleanup Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) labels Feb 19, 2022
@BradWalker BradWalker added this to the NB14 milestone Feb 19, 2022
@BradWalker BradWalker self-assigned this Feb 19, 2022
@BradWalker BradWalker deleted the cleanup_enumeration_warnings branch February 19, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code cleanup Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant