You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/11/27 22:08:07 UTC

[GitHub] [netbeans] mklaehn opened a new pull request #1687: [NETBEANS-3477] Fixed compiler warnings concerning rawtypes Enum

mklaehn opened a new pull request #1687: [NETBEANS-3477] Fixed compiler warnings concerning rawtypes Enum
URL: https://github.com/apache/netbeans/pull/1687
 
 
   There are compiler warnings about rawtype usage with a Enum like the following
   ```
    [nb-javac] .../ide/html.parser/test/unit/src/org/netbeans/modules/html/parser/model/GenerateElementsIndex.java:749: warning: [rawtypes] found raw type: Enum
    [nb-javac]             for (Iterator<? extends Enum> i = enumCollection.iterator(); i.hasNext();) {
    [nb-javac]                                     ^
    [nb-javac]   missing type arguments for generic class Enum<E>
    [nb-javac]   where E is a type-variable:
    [nb-javac]     E extends Enum<E> declared in class Enum
   ```
   The aim is to change the code such that these warnings are no longer emitted by the compiler.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists