streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbnks <...@git.apache.org>
Subject [GitHub] incubator-streams pull request: Streams 159
Date Wed, 27 Aug 2014 18:36:47 GMT
Github user rbnks commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/76#discussion_r16795352
  
    --- Diff: streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/api/FacebookPostActivitySerializer.java
---
    @@ -76,6 +80,16 @@ public Activity deserialize(Post post) throws ActivitySerializerException
{
             parseObject(activity, mapper.convertValue(post, ObjectNode.class));
             fixObjectId(activity);
             fixContentFromSummary(activity);
    +        activity.setVerb("post");
    +        List<String> links = Lists.newLinkedList();
    +        links.add(post.getLink());
    +        activity.setLinks(links);
    +        ensureExtensions(activity).put("facebook", post);
    --- End diff --
    
    Yes.  I usually just always do it to be safe.


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