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

Fix the wrong use of Enumeration interface #3637

Merged

Conversation

BradWalker
Copy link
Member

This is the wrong use of the Enumeration interface..

[repeat] /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/src/org/netbeans/modules/ide/ergonomics/fod/FindComponentModules.java:204: warning: [rawtypes] found raw type: Enumeration
[repeat] Enumeration en = new StringTokenizer (value, ","); // NOI18N
[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.

This is the wrong use of the Enumeration interface..

   [repeat] /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/src/org/netbeans/modules/ide/ergonomics/fod/FindComponentModules.java:204: warning: [rawtypes] found raw type: Enumeration
   [repeat]             Enumeration en = new StringTokenizer (value, ","); // NOI18N
   [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 added this to the NB14 milestone Feb 19, 2022
@BradWalker BradWalker merged commit eb38d73 into apache:master Feb 19, 2022
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