You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by TomasBurian <gi...@git.apache.org> on 2017/05/31 13:07:54 UTC

[GitHub] camel pull request #1731: Update CMISSessionFacade.java

GitHub user TomasBurian opened a pull request:

    https://github.com/apache/camel/pull/1731

    Update CMISSessionFacade.java

    Hi, this piece of code causes two calls in a row for content stream. Result of document.getContentStream() has to be stored and used where is needed, not to call document.getContentStream() in condition and than again in return statement.

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

    $ git pull https://github.com/TomasBurian/camel patch-1

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

    https://github.com/apache/camel/pull/1731.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 #1731
    
----
commit 9df70144219ed67450d27389257561adc6502d86
Author: Tomáš Burian <to...@lundegaard.eu>
Date:   2017-05-31T13:06:01Z

    Update CMISSessionFacade.java
    
    Hi, this piece of code causes two calls in a row for content stream. Result of document.getContentStream() has to be stored and used where is needed, not to call document.getContentStream() in condition and than again in return statement.

----


---
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.
---

[GitHub] camel pull request #1731: Update CMISSessionFacade.java

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/1731


---
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.
---