java.util.Collectionjava.util.List



Project Jasig/cas in file ...va.org.jasig.cas.CentralAuthenticationService.java (2013-05-27)
@@ -18,7 +18,7 @@
  */
 package org.jasig.cas;
 
-import java.util.Collection;
+import java.util.List;
 
 import org.jasig.cas.authentication.principal.Credentials;
 import org.jasig.cas.authentication.principal.Service;
@@ -102,7 +102,7 @@ public interface CentralAuthenticationService {
      * @param ticketGrantingTicketId the id of the ticket we want to destroy
      * @return the logout requests.
      */
-    Collection<LogoutRequest> destroyTicketGrantingTicket(final String ticketGrantingTicketId);
+    List<LogoutRequest> destroyTicketGrantingTicket(final String ticketGrantingTicketId);
 
     /**
      * Delegate a TicketGrantingTicket to a Service for proxying authentication
Project Jasig/cas in file ....main.java.org.jasig.cas.logout.LogoutManager.java (2013-05-27)
@@ -18,7 +18,7 @@
  */
 package org.jasig.cas.logout;
 
-import java.util.Collection;
+import java.util.List;
 
 import org.jasig.cas.ticket.TicketGrantingTicket;
 
@@ -36,7 +36,7 @@ public interface LogoutManager {
      * @param ticket a given ticket granting ticket.
      * @return all logout requests.
      */
-    Collection<LogoutRequest> performLogout(TicketGrantingTicket ticket);
+    List<LogoutRequest> performLogout(TicketGrantingTicket ticket);
 
     /**
      * Create a logout message for front channel logout.
Project Jasig/cas in file ...ing.server.RemoteCentralAuthenticationService.java (2013-05-27)
@@ -18,7 +18,7 @@
  */
 package org.jasig.cas.remoting.server;
 
-import java.util.Collection;
+import java.util.List;
 import java.util.Set;
 
 import javax.validation.ConstraintViolation;
@@ -113,7 +113,7 @@ public final class RemoteCentralAuthenticationService implements CentralAuthenti
      * @return the logout requests.
      */
     @Override
-    public Collection<LogoutRequest> destroyTicketGrantingTicket(final String ticketGrantingTicketId) {
+    public List<LogoutRequest> destroyTicketGrantingTicket(final String ticketGrantingTicketId) {
         return this.centralAuthenticationService.destroyTicketGrantingTicket(ticketGrantingTicketId);
     }
 
Project JetBrains/intellij-community in file ...rc.org.jetbrains.jps.builders.BuildTargetType.java (2012-09-27)
@@ -3,7 +3,7 @@ package org.jetbrains.jps.builders;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.jps.model.JpsModel;
 
-import java.util.Collection;
+import java.util.List;
 
 /**
  * @author nik
@@ -20,7 +20,7 @@ public abstract class BuildTargetType<T extends BuildTarget<?>> {
   }
 
   @NotNull
-  public abstract Collection<T> computeAllTargets(@NotNull JpsModel model);
+  public abstract List<T> computeAllTargets(@NotNull JpsModel model);
 
   @NotNull
   public abstract BuildTargetLoader<T> createLoader(@NotNull JpsModel model);
Project JetBrains/intellij-community in file ...i.src.com.intellij.xdebugger.XDebuggerManager.java (2013-06-25)
@@ -27,7 +27,7 @@ import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
-import java.util.Collection;
+import java.util.List;
 
 /**
  * @author nik
@@ -49,7 +49,7 @@ public abstract class XDebuggerManager {
   public abstract XDebugSession getDebugSession(@NotNull ExecutionConsole executionConsole);
 
   @NotNull
-  public abstract <T extends XDebugProcess> Collection<? extends T> getDebugProcesses(Class<T> processClass);
+  public abstract <T extends XDebugProcess> List<? extends T> getDebugProcesses(Class<T> processClass);
 
   @Nullable
   public abstract XDebugSession getCurrentSession();