[
https://issues.apache.org/jira/browse/STREAMS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15598433#comment-15598433
]
ASF GitHub Bot commented on STREAMS-399:
----------------------------------------
Github user smarthi commented on a diff in the pull request:
https://github.com/apache/incubator-streams/pull/313#discussion_r84584725
--- Diff:
streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/converter/util/TwitterActivityUtil.java
---
@@ -273,8 +275,7 @@ public static void addLocationExtension(Activity
activity, Tweet tweet) {
.or(Optional.of(tweet.getId().toString()))
.orNull()
));
- location.put("coordinates", tweet.getCoordinates());
- extensions.put("location", location);
+ location.put("coordinates", boundingBoxCenter(tweet.getPlace()));
extensions.put("location", location);
--- End diff --
put them on 2 separate lines
> Add any missing fields to tweet.json
> ------------------------------------
>
> Key: STREAMS-399
> URL: https://issues.apache.org/jira/browse/STREAMS-399
> Project: Streams
> Issue Type: Improvement
> Reporter: Steve Blackmon
> Assignee: Steve Blackmon
>
> Noticed some new fields in tweets:
> is_quote_status
> quoted_status_id
> quoted_status
> Add these and any other missing fields to tweet.json
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)