You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Brad Walker (Jira)" <ji...@apache.org> on 2020/11/28 07:26:00 UTC

[jira] [Commented] (NETBEANS-5074) cleanup ArrayList warnings..

    [ https://issues.apache.org/jira/browse/NETBEANS-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239914#comment-17239914 ] 

Brad Walker commented on NETBEANS-5074:
---------------------------------------

This work cleans up a bunch of warnings surrounding the use of ArrayList..

For example:

{code:java}
   [repeat] /home/bwalker/src/netbeans/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/TabLayoutManager.java:245: warning: [unchecked] unchecked conversion
   [repeat]             List<Integer>[] rowIndexes = new ArrayList[rowCount];
   [repeat]                                          ^
   [repeat]   required: List<Integer>[]
   [repeat]   found:    ArrayList[]
{code}

ActionsManager.java was especially involved since one change would require another. And keeping track of that, so as not to break things, was hard.


> cleanup ArrayList warnings..
> ----------------------------
>
>                 Key: NETBEANS-5074
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5074
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Brad Walker
>            Assignee: Brad Walker
>            Priority: Major
>




--
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