Skip to content

Cleanup warnings that are related to the use of a Result raw type..#7597

Merged
BradWalker merged 1 commit intoapache:masterfrom
BradWalker:cleanup_raw_type_Result
Jan 14, 2025
Merged

Cleanup warnings that are related to the use of a Result raw type..#7597
BradWalker merged 1 commit intoapache:masterfrom
BradWalker:cleanup_raw_type_Result

Conversation

@BradWalker
Copy link
Copy Markdown
Member

Cleanup warnings that are related to the use of a Result raw type..

Warnings like this:

[repeat] /home/bwalker/src/netbeans/ide/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/FoldViewFactory.java:107: warning: [rawtypes] found raw type: Result
[repeat] private Lookup.Result colorSource;
[repeat] ^
[repeat] missing type arguments for generic class Result
[repeat] where T is a type-variable:
[repeat] T extends Object declared in class Result

This pull request reduces many of those warnings.


^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 Jul 18, 2024
@BradWalker BradWalker added this to the NB23 milestone Jul 18, 2024
@BradWalker BradWalker self-assigned this Jul 18, 2024
@BradWalker BradWalker force-pushed the cleanup_raw_type_Result branch from 0776319 to 9d43212 Compare July 19, 2024 03:14
@BradWalker BradWalker added the ci:all-tests [ci] enable all tests label Jul 19, 2024
@BradWalker BradWalker force-pushed the cleanup_raw_type_Result branch from 9d43212 to f08d3c9 Compare July 19, 2024 04:09
@neilcsmith-net neilcsmith-net modified the milestones: NB23, NB24 Jul 22, 2024
@matthiasblaesing
Copy link
Copy Markdown
Contributor

@BradWalker could you please see if this is still intent for NB24? Given the unresolved comments, I would suggest to remove milestone and plan when there is time to work on this.

@mbien mbien removed this from the NB24 milestone Oct 18, 2024
@BradWalker BradWalker force-pushed the cleanup_raw_type_Result branch 2 times, most recently from 8444a60 to 43414fb Compare January 11, 2025 19:43
@BradWalker BradWalker added this to the NB25 milestone Jan 11, 2025
@BradWalker
Copy link
Copy Markdown
Member Author

@BradWalker could you please see if this is still intent for NB24? Given the unresolved comments, I would suggest to remove milestone and plan when there is time to work on this.

Hey @matthiasblaesing , sorry to be delayed on responding. Thank you for the code review oversight. I think that I've fixed everything. Trying to clean up old pull requests before starting anything new.

Copy link
Copy Markdown
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are unanswered comments, so not sure if that is intentional.

@BradWalker BradWalker force-pushed the cleanup_raw_type_Result branch from 43414fb to b836208 Compare January 12, 2025 17:24
@BradWalker
Copy link
Copy Markdown
Member Author

Oversight on my part. Should be fixed now..

Warnings like this:

[repeat] /home/bwalker/src/netbeans/ide/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/FoldViewFactory.java:107: warning: [rawtypes] found raw type: Result
[repeat] private Lookup.Result colorSource;
[repeat] ^
[repeat] missing type arguments for generic class Result
[repeat] where T is a type-variable:
[repeat] T extends Object declared in class Result

This pull request reduces many of those warnings.
@BradWalker BradWalker force-pushed the cleanup_raw_type_Result branch from b836208 to 27a48fc Compare January 12, 2025 17:49
Copy link
Copy Markdown
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me. Thank you. The failing check is caused by the author in the commit entry. There is no space between your first and lastname. I don't think this needs a respin, but would be good to fix for next commits.

@BradWalker BradWalker merged commit b3bdee7 into apache:master Jan 14, 2025
@BradWalker BradWalker deleted the cleanup_raw_type_Result branch January 14, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants