java.util.Setjava.util.List



Project Graylog2/graylog2-server in file ...va.org.graylog2.periodical.AlarmScannerThread.java (2013-04-04)
@@ -34,8 +34,8 @@ import org.graylog2.streams.StreamImpl;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import java.util.List;
 import java.util.Map;
-import java.util.Set;
 
 /**
  * @author Lennart Koopmann <lennart@socketfeed.com>
@@ -58,7 +58,7 @@ public class AlarmScannerThread implements Runnable {
         Map<String, Object> onlyAlerted = Maps.newHashMap();
         onlyAlerted.put("alarm_active", true);
         
-        Set<Stream> streams = StreamImpl.fetchAllEnabled(graylogServer, onlyAlerted);
+        List<Stream> streams = StreamImpl.loadAllEnabled(graylogServer, onlyAlerted);
         
         if (streams.isEmpty()) {
             LOG.debug("No alertable streams found. Not doing anything more.");
Project SonarSource/sonarqube in file ....main.java.org.sonar.api.test.MutableTestCase.java (2013-01-29)
@@ -21,7 +21,7 @@ package org.sonar.api.test;
 
 import javax.annotation.Nullable;
 
-import java.util.Set;
+import java.util.List;
 
 public interface MutableTestCase extends TestCase {
   MutableTestCase setStatus(String s);
@@ -34,5 +34,5 @@ public interface MutableTestCase extends TestCase {
 
   MutableTestCase setStackTrace(String s);
 
-  void covers(Testable testable, Set<Integer> lines);
+  void covers(Testable testable, List<Integer> lines);
 }
Project alibaba/jstorm in file ...orm.schedule.default_assign.Selector.Selector.java (2014-10-23)
@@ -1,10 +1,10 @@
 package com.alibaba.jstorm.schedule.default_assign.Selector;
 
-import java.util.Set;
+import java.util.List;
 
 import com.alibaba.jstorm.schedule.default_assign.ResourceWorkerSlot;
 
 public interface Selector {
-	public Set<ResourceWorkerSlot> select(Set<ResourceWorkerSlot> result,
+	public List<ResourceWorkerSlot> select(List<ResourceWorkerSlot> result,
 			String name);
 }
Project alibaba/jstorm in file ...orm.schedule.default_assign.Selector.Selector.java (2014-11-17)
@@ -1,10 +1,10 @@
 package com.alibaba.jstorm.schedule.default_assign.Selector;
 
-import java.util.Set;
+import java.util.List;
 
 import com.alibaba.jstorm.schedule.default_assign.ResourceWorkerSlot;
 
 public interface Selector {
-	public Set<ResourceWorkerSlot> select(Set<ResourceWorkerSlot> result,
+	public List<ResourceWorkerSlot> select(List<ResourceWorkerSlot> result,
 			String name);
 }
Project facebook/facebook-android-sdk in file ...s.src.com.facebook.scrumptious.PickerActivity.java (2012-09-13)
@@ -17,7 +17,7 @@ import android.widget.Button;
 import android.widget.TextView;
 import com.facebook.*;
 
-import java.util.Set;
+import java.util.List;
 
 /**
  * The PickerActivity enhances the Friend or Place Picker by adding a title
@@ -35,7 +35,7 @@ public class PickerActivity extends FragmentActivity {
 
     private FriendPickerFragment friendPickerFragment;
     private PlacePickerFragment placePickerFragment;
-    private Set<GraphUser> users = null;
+    private List<GraphUser> users = null;
     private GraphPlace place = null;
 
     @Override