question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Easy Config-related cleanups

See original GitHub issue

Description After #5387, there are several configuration constructs that can be cleaned up in core and extensions.

  • Any @ConfigItem which has a primitive type like int or boolean that has an explicit default value of 0 or false can have the default value removed.
  • Any @ConfigItem with a primitive wrapper type like Integer or Boolean with an explicit default value of 0 or false should be changed to use the primitive type instead and remove the default value.
  • Any @ConfigItem of type Optional<Integer> can be changed to OptionalInt.
  • Any @ConfigItem which is a List type that is always converted to an array using toArray can be changed to just be an array type instead.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
dmlloydcommented, Apr 8, 2020

Go ahead. I’d recommend fixing just one problem per PR at a time; that will make it more likely to get merged quickly and hopefully avoid the troubles that the previous contributor encountered.

1reaction
adrianfiedlercommented, Jul 2, 2020

Hi @dmlloyd, @machi1990, for third task I prepared a PR, could you please check? https://github.com/quarkusio/quarkus/pull/10440

Read more comments on GitHub >

github_iconTop Results From Across the Web

Easy code cleanup with EditorConfig · Issue #40163 - GitHub
Will open a document tab for Code Cleanup similar to the current document tab for EditorConfig. There will be a dropdown for each...
Read more >
How to Plan a Community Cleanup | Budget Dumpster
Community cleanup projects can come in many forms: Trash and litter collection; Beautification projects; Flower planting incentives; Beach ...
Read more >
Clean Up that Bloated Web.Config! An Application Settings ...
This article has presented a simple, easy to use application settings manager, and a user interface that allows you or your customers to...
Read more >
Cleanup guide | Atlassian Support
Instance cleanup process​​ This is when you review your instance and decide on the areas to clean up. In this stage you'll be...
Read more >
Performing File System Cleanups - Cisco Content Hub
Performing File System Cleanups. This chapter describes the various file system cleanups performed on the Cisco ASR 1000 Series Aggregation Services Router.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found