Author: rob.stryker(a)jboss.com
Date: 2008-02-14 04:24:33 -0500 (Thu, 14 Feb 2008)
New Revision: 6309
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java
Log:
generics refactor
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java 2008-02-14
09:22:24 UTC (rev 6308)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java 2008-02-14
09:24:33 UTC (rev 6309)
@@ -60,7 +60,7 @@
* @return
*/
public static JBossServer[] getAllJBossServers() {
- ArrayList servers = new ArrayList();
+ ArrayList<JBossServer> servers = new ArrayList<JBossServer>();
IServer[] iservers = ServerCore.getServers();
for( int i = 0; i < iservers.length; i++ ) {
if( getJBossServer(iservers[i]) != null ) {
@@ -73,7 +73,7 @@
}
public static IServer[] getJBossServersAsIServers() {
- ArrayList servers = new ArrayList();
+ ArrayList<IServer> servers = new ArrayList<IServer>();
IServer[] iservers = ServerCore.getServers();
for( int i = 0; i < iservers.length; i++ ) {
if( getJBossServer(iservers[i]) != null ) {
@@ -86,7 +86,7 @@
}
public static IDeployableServer[] getAllDeployableServers() {
- ArrayList servers = new ArrayList();
+ ArrayList<IDeployableServer> servers = new ArrayList<IDeployableServer>();
IServer[] iservers = ServerCore.getServers();
for( int i = 0; i < iservers.length; i++ ) {
if( getDeployableServer(iservers[i]) != null ) {
@@ -98,7 +98,7 @@
return ret;
}
public static IServer[] getDeployableServersAsIServers() {
- ArrayList servers = new ArrayList();
+ ArrayList<IServer> servers = new ArrayList<IServer>();
IServer[] iservers = ServerCore.getServers();
for( int i = 0; i < iservers.length; i++ ) {
if( getDeployableServer(iservers[i]) != null ) {
Show replies by date