curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madrob <...@git.apache.org>
Subject [GitHub] curator pull request: [CURATOR-215] Support async multi/transactio...
Date Tue, 12 May 2015 17:04:33 GMT
Github user madrob commented on a diff in the pull request:

    https://github.com/apache/curator/pull/77#discussion_r30155876
  
    --- Diff: curator-framework/src/main/java/org/apache/curator/framework/imps/SetDataBuilderImpl.java
---
    @@ -246,7 +243,7 @@ public Stat forPath(String path, byte[] data) throws Exception
             Stat        resultStat = null;
             if ( backgrounding.inBackground()  )
             {
    -            client.processBackgroundOperation(new OperationAndData<PathAndBytes>(this,
new PathAndBytes(path, data), backgrounding.getCallback(), null, backgrounding.getContext()),
null);
    +            client.processBackgroundOperation(new OperationAndData<>(this, new
PathAndBytes(path, data), backgrounding.getCallback(), null, backgrounding.getContext()),
null);
    --- End diff --
    
    This is not a valid JDK6 construct.


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

Mime
View raw message