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

ASF GitHub Bot commented on NIFI-5244:
--------------------------------------

Github user MikeThomsen commented on the issue:

    https://github.com/apache/nifi/pull/2742
  
    Yep. At first I thought it was something clever, so I tried it out w/ a 
simple Java class and `ConcurrentHashMap` doesn't handle optionals.


> MockSchemaRegistry retrieveSchemaByName is broken
> -------------------------------------------------
>
>                 Key: NIFI-5244
>                 URL: https://issues.apache.org/jira/browse/NIFI-5244
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Major
>
> retrieveSchemaByName uses an optional, but never calls get() on the optional 
> so the hashmap always returns null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to