Skip to content

Cleanup Map raw type warnings.. - #6112

Open
BradWalker wants to merge 1 commit into
apache:masterfrom
BradWalker:cleanup_map_raw_type
Open

Cleanup Map raw type warnings..#6112
BradWalker wants to merge 1 commit into
apache:masterfrom
BradWalker:cleanup_map_raw_type

Conversation

@BradWalker

Copy link
Copy Markdown
Member

Cleanup May raw type warnings that look like this:

[repeat] /home/bwalker/src/netbeans/ide/team.commons/src/org/netbeans/modules/bugtracking/commons/AttachmentsPanel.java:353: warning: [rawtypes] found raw type: Map
[repeat] Map attributes = cmp.getFont().getAttributes();
[repeat] ^
[repeat] missing type arguments for generic class Map<K,V>
[repeat] where K,V are type-variables:
[repeat] K extends Object declared in interface Map
[repeat] V extends Object declared in interface Map

Also, some minor code cleanup.


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

If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.

@BradWalker BradWalker added the Code cleanup Label for cleanup done on the Netbeans IDE label Jun 22, 2023
@BradWalker BradWalker added this to the NB19 milestone Jun 22, 2023
@BradWalker BradWalker self-assigned this Jun 22, 2023
@mbien mbien added the ci:all-tests [ci] enable all tests label Jun 22, 2023
Comment thread ide/db/libsrc/org/netbeans/lib/ddl/impl/Specification.java Outdated
@mbien mbien modified the milestones: NB19, NB20 Jul 13, 2023
@neilcsmith-net neilcsmith-net removed this from the NB20 milestone Oct 14, 2023
@neilcsmith-net
neilcsmith-net marked this pull request as draft October 14, 2023 09:58
@BradWalker BradWalker added the API Change [ci] enable extra API related tests label Dec 29, 2025
@BradWalker
BradWalker force-pushed the cleanup_map_raw_type branch 4 times, most recently from 2135e4c to 7424845 Compare December 29, 2025 19:11
@BradWalker
BradWalker marked this pull request as ready for review December 29, 2025 20:50
@BradWalker

Copy link
Copy Markdown
Member Author

Need to resolve this old PR.. So I rebased against the latest, resolved the comments, and it's now ready.

@BradWalker BradWalker added this to the NB29 milestone Dec 29, 2025
Comment thread platform/openide.filesystems/src/org/openide/filesystems/XMLFileSystem.java Outdated
@ebarboni ebarboni modified the milestones: NB29, NB30 Jan 22, 2026
@mbien mbien modified the milestones: NB30, NB31 Apr 14, 2026
@neilcsmith-net neilcsmith-net added the stale No recent activity - likely to be closed. label Jul 13, 2026
@neilcsmith-net neilcsmith-net removed this from the NB31 milestone Jul 13, 2026
@BradWalker
BradWalker force-pushed the cleanup_map_raw_type branch from 7424845 to 1a8a454 Compare August 5, 2026 21:12
@BradWalker BradWalker removed the stale No recent activity - likely to be closed. label Aug 5, 2026
Cleanup May raw type warnings that look like this:

   [repeat] /home/bwalker/src/netbeans/ide/team.commons/src/org/netbeans/modules/bugtracking/commons/AttachmentsPanel.java:353: warning: [rawtypes] found raw type: Map
   [repeat]         Map attributes = cmp.getFont().getAttributes();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map

Also, some minor code cleanup.
@BradWalker
BradWalker force-pushed the cleanup_map_raw_type branch from 1a8a454 to 2a4dae9 Compare August 5, 2026 21:53
@BradWalker BradWalker added this to the NB31 milestone Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Change [ci] enable extra API related tests ci:all-tests [ci] enable all tests Code cleanup Label for cleanup done on the Netbeans IDE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants