streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sblack...@apache.org
Subject [31/50] [abbrv] incubator-streams git commit: disambiguate several objects import .* is not good practice...
Date Fri, 20 Mar 2015 00:53:57 GMT
disambiguate several objects
import .* is not good practice...


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

Branch: refs/heads/asf-master
Commit: db513c20252649451c3c1938afa22d6b5f5d5b6c
Parents: 58894f1
Author: sblackmon <sblackmon@apache.org>
Authored: Wed Feb 18 11:59:58 2015 -0600
Committer: sblackmon <sblackmon@apache.org>
Committed: Wed Feb 18 11:59:58 2015 -0600

----------------------------------------------------------------------
 .../serializer/util/TwitterActivityUtil.java        | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/db513c20/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/serializer/util/TwitterActivityUtil.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/serializer/util/TwitterActivityUtil.java
b/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/serializer/util/TwitterActivityUtil.java
index f9b22bf..b6a541c 100644
--- a/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/serializer/util/TwitterActivityUtil.java
+++ b/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/serializer/util/TwitterActivityUtil.java
@@ -27,9 +27,19 @@ import com.google.common.base.Strings;
 import com.google.common.collect.Lists;
 import org.apache.streams.exceptions.ActivitySerializerException;
 import org.apache.streams.pojo.extensions.ExtensionUtil;
-import org.apache.streams.pojo.json.*;
+import org.apache.streams.pojo.json.Activity;
+import org.apache.streams.pojo.json.ActivityObject;
+import org.apache.streams.pojo.json.Actor;
+import org.apache.streams.pojo.json.Image;
+import org.apache.streams.pojo.json.Provider;
 import org.apache.streams.twitter.Url;
-import org.apache.streams.twitter.pojo.*;
+import org.apache.streams.twitter.pojo.Delete;
+import org.apache.streams.twitter.pojo.Entities;
+import org.apache.streams.twitter.pojo.Hashtag;
+import org.apache.streams.twitter.pojo.Retweet;
+import org.apache.streams.twitter.pojo.Tweet;
+import org.apache.streams.twitter.pojo.User;
+import org.apache.streams.twitter.pojo.UserMentions;
 import org.apache.streams.twitter.serializer.StreamsTwitterMapper;
 
 import java.util.ArrayList;
@@ -112,7 +122,7 @@ public class TwitterActivityUtil {
      * @param delete the delete event
      * @return a valid Actor
      */
-    public static  Actor buildActor(Delete delete) {
+    public static Actor buildActor(Delete delete) {
         Actor actor = new Actor();
         actor.setId(formatId(delete.getDelete().getStatus().getUserIdStr()));
         return actor;


Mime
View raw message