bridgedb / bridgedb/BridgeDb

Avoid returning `null`. Prefer `Optional`

Open
#63 1 comment 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Java
Stars
37
Forks
22
PR merge metrics
No merged PRs in 30d

Description

In situations where a value might not exist, generally preferable to return values wrapped with a Java `Optional<>` rather than a `null`. It's more self documenting, and generally easier to deal with logic to handle situations where values might be missing.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.