You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/26 22:04:00 UTC

[jira] [Updated] (NETBEANS-3462) remove warning related to rawtype SimpleFuture

     [ https://issues.apache.org/jira/browse/NETBEANS-3462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated NETBEANS-3462:
-------------------------------------
    Labels: pull-request-available  (was: )

> remove warning related to rawtype SimpleFuture
> ----------------------------------------------
>
>                 Key: NETBEANS-3462
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3462
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Martin Klähn
>            Assignee: Martin Klähn
>            Priority: Major
>              Labels: pull-request-available
>
> There are compiler warnings about rawtype usage with a SimpleFuture like the following
> {code:java}
>  [nb-javac] .../enterprise/maven.j2ee/src/org/netbeans/modules/maven/j2ee/ear/model/ApplicationMetadataModelImpl.java:110: warning: [rawtypes] found raw type: SimpleFuture
>  [nb-javac]         return new SimpleFuture(runReadAction(action));
>  [nb-javac]                    ^
>  [nb-javac]   missing type arguments for generic class SimpleFuture<R>
>  [nb-javac]   where R is a type-variable:
>  [nb-javac]     R extends Object declared in class SimpleFuture
> {code}
> The aim is to change the code such that these warnings are no longer emitted by the compiler.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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