Skip to content

Conversation

@kalaninja
Copy link
Contributor

No description provided.

@kalaninja kalaninja force-pushed the feature/rpc-contracts branch from 791d9c8 to 04bc9d1 Compare February 11, 2022 21:34
private final boolean value;

@Override
public boolean isNull() {
Copy link
Collaborator

@vnabiev vnabiev Feb 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would propose to make each method returns false by default and throws IllegalStateException appropriately at RpcObject and then just to override methods that relate to the
particular implementation. It'll reduce repetetive code.

@kalaninja kalaninja force-pushed the feature/rpc-contracts branch from 04bc9d1 to edbb6af Compare February 13, 2022 08:55
@kalaninja kalaninja marked this pull request as ready for review February 13, 2022 09:02
@kalaninja kalaninja requested a review from vnabiev February 13, 2022 09:02
@kalaninja kalaninja merged commit 1e09c79 into develop Feb 14, 2022
@kalaninja kalaninja deleted the feature/rpc-contracts branch February 14, 2022 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants