You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by markap14 <gi...@git.apache.org> on 2016/02/01 21:48:44 UTC

[GitHub] nifi pull request: NIFI-1417 Exposing several connection settings ...

Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/194#discussion_r51478207
  
    --- Diff: nifi-nar-bundles/nifi-solr-bundle/nifi-solr-processors/src/main/java/org/apache/nifi/processors/solr/SolrProcessor.java ---
    @@ -120,6 +202,22 @@ protected final SolrClient getSolrClient() {
                             .explanation("A collection must specified for Solr Type of Cloud")
                             .build());
                 }
    +
    +            if (!context.getProperty(ZK_CLIENT_TIMEOUT).isSet()) {
    --- End diff --
    
    This is 'dead code' as isSet() will always return 'true', since there is a defaultValue


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---