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

Tsz-wo Sze commented on RATIS-753:
----------------------------------

No problem.  The test failures definitely are not related to the patch.

+1 the 0001 patch looks good.

> Mark o.a.r.protocol.Message as @FunctionalInterface
> ---------------------------------------------------
>
>                 Key: RATIS-753
>                 URL: https://issues.apache.org/jira/browse/RATIS-753
>             Project: Ratis
>          Issue Type: Improvement
>          Components: common
>            Reporter: Zili Chen
>            Assignee: Zili Chen
>            Priority: Minor
>         Attachments: 
> 0001-RATIS-753.-Mark-o.a.r.protocol.Message-as-Functional.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> From the class name I used to think that it is a base class of POJOs. 
> However, actually it works by its {{getContent}} method. It does no harm we 
> mark it as {{@FunctionalInterface}} I think.
> I'd like to provide a tiny PR to this issue if you think it is valid. Please 
> assign the issue to me then.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to