Skip to content

Improve builders and resources with Java 8 default/static interface methods #791

@mp911de

Description

@mp911de

Right now, ClientResources other interface-based components consist of an interface (ClientResources) and a default implementation (DefaultClientResources). Constructing a builder requires calling DefaultClientResources.builder(). We can improve by providing create() and builder() methods on the actual interface itself.

We should also provide mutation methods to mutate existing objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions