Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-17785

Switch to using @Nullable for all Config class properties which can be nullable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Low
    • Resolution: Unresolved
    • 5.x
    • Local/Config
    • None
    • Operability
    • Normal
    • All
    • None

    Description

      Currently we allow here null value for those properties that have null default value in Config.

      We added exception for two properties as part of this PR - https://github.com/apache/cassandra/pull/1758#discussion_r932618899

      As discuessed in the PR, we would  like to explore the opportunity to switch nullable properties to using the @Nullable annotation no matter whether they are or they are not having null value in Config.

      We need to ensure extensive testing for this switch plus documenting it. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              e.dimitrova Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: