You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2014/09/11 12:25:34 UTC

[jira] [Commented] (BOOKKEEPER-782) Use builder pattern for Cookie

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

Rakesh R commented on BOOKKEEPER-782:
-------------------------------------

+Note:+ Cookie#setInstanceId() will return a new cookie object with the new instanceid value. Presently cookie is not exposing internals to the outside through getters(), I just wanted to continue the same behavior.

> Use builder pattern for Cookie
> ------------------------------
>
>                 Key: BOOKKEEPER-782
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-782
>             Project: Bookkeeper
>          Issue Type: Sub-task
>          Components: bookkeeper-server
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>             Fix For: 4.3.0
>
>         Attachments: BOOKKEEPER-782.patch
>
>
> It would be good to use builder pattern for Cookie, rather than modifying the fields in place.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)