You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/10 20:30:05 UTC

[jira] [Commented] (BOOKKEEPER-1060) Add utility to use SafeRunnable from Java8 Lambda

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

ASF GitHub Bot commented on BOOKKEEPER-1060:
--------------------------------------------

GitHub user merlimat opened a pull request:

    https://github.com/apache/bookkeeper/pull/148

    BOOKKEEPER-1060: Add utility to use SafeRunnable from Java8 Lambda

    Since BK-4.5.0 is already switched to Java8, we should have a simple and concise way to pass lambdas where a `SafeRunnable` is required.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/merlimat/bookkeeper safe-runnable

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/bookkeeper/pull/148.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #148
    
----
commit 16d065001f5be487b6ea8e9dba6aedd767dc07d5
Author: Matteo Merli <mm...@apache.org>
Date:   2017-05-10T20:24:25Z

    BOOKKEEPER-1060: Add utility to use SafeRunnable from Java8 Lambda

----


> Add utility to use SafeRunnable from Java8 Lambda
> -------------------------------------------------
>
>                 Key: BOOKKEEPER-1060
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1060
>             Project: Bookkeeper
>          Issue Type: Task
>            Reporter: Matteo Merli
>            Assignee: Matteo Merli
>            Priority: Trivial
>             Fix For: 4.5.0
>
>
> Since BK-4.5.0 is already switched to Java8, we should have a simple and concise way to pass lambdas where a {{SafeRunnable}} is required.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)