streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sblack...@apache.org
Subject [25/47] git commit: STREAMS-105 | Code review feedback
Date Mon, 21 Jul 2014 15:45:11 GMT
STREAMS-105 | Code review feedback


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/abaf5b00
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/abaf5b00
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/abaf5b00

Branch: refs/heads/STREAMS-46
Commit: abaf5b00b3cfb196ff736029a8dc44d3c90b7a86
Parents: 26f3614
Author: Robert Douglas <rdouglas@w2odigital.com>
Authored: Mon Jul 7 13:23:11 2014 -0500
Committer: Robert Douglas <rdouglas@w2odigital.com>
Committed: Mon Jul 7 13:23:11 2014 -0500

----------------------------------------------------------------------
 .../datasift/serializer/DatasiftTweetActivitySerializer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/abaf5b00/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftTweetActivitySerializer.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftTweetActivitySerializer.java
b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftTweetActivitySerializer.java
index 0482235..158d027 100644
--- a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftTweetActivitySerializer.java
+++ b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftTweetActivitySerializer.java
@@ -165,7 +165,7 @@ public class DatasiftTweetActivitySerializer extends DatasiftDefaultActivitySeri
         double[] coordiantes = new double[] { twitter.getGeo().getLongitude(), twitter.getGeo().getLatitude()
};
         Map<String, Object> coords = Maps.newHashMap();
         coords.put("coordinates", coordiantes);
-        coords.put("type", "point");
+        coords.put("type", "Point");
         location.put("coordinates", coords);
         extensions.put("location", location);
     }


Mime
View raw message