Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Status

Current state: Under Discussion Draft

Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]

...

Public Interfaces

We plan to change the value `value` field of the class to be `Optional<String>` to make it explicitly to the caller that it might well be null. And change the `value()` method to return an `Optional<String>` as well.

...

We plan to change the type of the value field to be an Optional `Optional<String>` which requires us to also change the getter, `equals` and `hashCode` method.

...

Various callers that uses the constructor and getter will need to be changed to account for the change in type.

Rejected Alternatives