java.util.Listjava.util.Collection



Project JetBrains/intellij-community in file ...ler.src.org.hanuna.gitalk.ui.VcsLogController.java (2013-06-08)
@@ -13,7 +13,7 @@ import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 import javax.swing.table.TableModel;
-import java.util.List;
+import java.util.Collection;
 
 /**
  * @author erokhins
@@ -40,7 +40,7 @@ public interface VcsLogController {
 
   public void jumpToCommit(Hash commitHash);
 
-  List<Ref> getRefs();
+  Collection<Ref> getRefs();
 
   @NotNull
   DragDropListener getDragDropListener();
Project JetBrains/intellij-community in file ...er-ui.src.org.jetbrains.debugger.MemberFilter.java (2014-05-16)
@@ -2,11 +2,11 @@ package org.jetbrains.debugger;
 
 import org.jetbrains.annotations.NotNull;
 
-import java.util.List;
+import java.util.Collection;
 
 public interface MemberFilter {
   boolean isMemberVisible(@NotNull Variable variable, boolean filterFunctions);
 
   @NotNull
-  List<Variable> getAdditionalVariables();
+  Collection<Variable> getAdditionalVariables();
 }
\ No newline at end of file
Project JetBrains/intellij-community in file ...intellij.vcs.log.graph.render.GraphCommitCell.java (2013-10-07)
@@ -3,7 +3,7 @@ package com.intellij.vcs.log.graph.render;
 import com.intellij.vcs.log.VcsRef;
 import com.intellij.vcs.log.printmodel.GraphPrintCell;
 
-import java.util.List;
+import java.util.Collection;
 
 
 /**
@@ -22,7 +22,7 @@ public class GraphCommitCell extends CommitCell {
   private final GraphPrintCell row;
   private final Kind kind;
 
-  public GraphCommitCell(GraphPrintCell row, Kind kind, String text, List<VcsRef> refsToThisCommit) {
+  public GraphCommitCell(GraphPrintCell row, Kind kind, String text, Collection<VcsRef> refsToThisCommit) {
     super(text, refsToThisCommit);
     this.kind = kind;
     this.row = row;
Project JetBrains/intellij-community in file ...ellij.vcs.log.ui.render.GraphCommitCellRender.java (2013-10-07)
@@ -19,7 +19,7 @@ import javax.swing.table.TableCellRenderer;
 import java.awt.*;
 import java.awt.font.FontRenderContext;
 import java.awt.image.BufferedImage;
-import java.util.List;
+import java.util.Collection;
 
 import static com.intellij.vcs.log.graph.render.PrintParameters.HEIGHT_CELL;
 import static com.intellij.vcs.log.graph.render.PrintParameters.WIDTH_NODE;
@@ -85,7 +85,7 @@ public class GraphCommitCellRender implements TableCellRenderer {
 
     int countCells = cell.getPrintCell().countCell();
     int padding = countCells * WIDTH_NODE;
-    List<VcsRef> refs = cell.getRefsToThisCommit();
+    Collection<VcsRef> refs = cell.getRefsToThisCommit();
     if (!refs.isEmpty()) {
       VirtualFile root = refs.iterator().next().getRoot(); // all refs are from the same commit => they have the same root
       refs = myDataHolder.getLogProvider(root).getReferenceManager().sort(refs);
Project JetBrains/intellij-community in file ...om.intellij.vcs.log.ui.tables.GraphTableModel.java (2013-10-07)
@@ -12,8 +12,8 @@ import com.intellij.vcs.log.printmodel.GraphPrintCell;
 import org.jetbrains.annotations.NotNull;
 
 import javax.swing.table.AbstractTableModel;
+import java.util.Collection;
 import java.util.Collections;
-import java.util.List;
 
 /**
  * @author erokhins
@@ -67,7 +67,7 @@ public class GraphTableModel extends AbstractTableModel {
       case COMMIT_COLUMN:
         GraphPrintCell graphPrintCell = myDataPack.getPrintCellModel().getGraphPrintCell(rowIndex);
         String message = "";
-        List<VcsRef> refs = Collections.emptyList();
+        Collection<VcsRef> refs = Collections.emptyList();
         if (data != null) {
           message = data.getSubject();
           refs = myDataPack.getRefsModel().refsToCommit(data.getHash());