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

ASF subversion and git services commented on NIFI-12164:
--------------------------------------------------------

Commit 4cb3f503294b9570f465a7d1f11a37688c6ef0ee in nifi's branch 
refs/heads/support/nifi-1.x from Eric Secules
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4cb3f50329 ]

NIFI-12164 Fixed compilation with Optional method under JDK 8

This closes #7834

Signed-off-by: David Handermann <[email protected]>


> JDK 8 build broken in support/nifi-1.x branch
> ---------------------------------------------
>
>                 Key: NIFI-12164
>                 URL: https://issues.apache.org/jira/browse/NIFI-12164
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.24.0
>            Reporter: Eric Secules
>            Assignee: Eric Secules
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> NIFI-11739 introduced code that wasn't compatible with JDK 8 (calling 
> `.isEmpty()` on an `Optional`). Replace by `!myOption.isPresnet()`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to