You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2017/07/27 20:14:00 UTC

[jira] [Commented] (KUDU-2082) Deferred class should not be final

    [ https://issues.apache.org/jira/browse/KUDU-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103831#comment-16103831 ] 

Hari Shreedharan commented on KUDU-2082:
----------------------------------------

Looks like the class comes from async jar. I am not sure we can do anything about it here. I will leave this open while I fix the async one. Feel free to close this though

> Deferred class should not be final
> ----------------------------------
>
>                 Key: KUDU-2082
>                 URL: https://issues.apache.org/jira/browse/KUDU-2082
>             Project: Kudu
>          Issue Type: Improvement
>          Components: client, java
>            Reporter: Hari Shreedharan
>            Priority: Minor
>
> The {{Deferred}} class in the Java client API is final, which makes it very difficult to mock in unit tests. I don't really see a reason for this class to be final. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)