Resolved some unchecked Types

This commit is contained in:
thatsIch
2014-09-28 22:20:14 +02:00
parent a745e00115
commit f1ffbf08a2
109 changed files with 206 additions and 206 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ public class Connections implements Callable
{
final private PartP2PTunnelME me;
final public HashMap<IGridNode, TunnelConnection> connections = new HashMap();
final public HashMap<IGridNode, TunnelConnection> connections = new HashMap<IGridNode, TunnelConnection>();
public boolean create = false;
public boolean destroy = false;
@@ -21,8 +21,8 @@ public class TunnelCollection<T extends PartP2PTunnel> implements Iterable<T>
public Iterator<T> iterator()
{
if ( tunnelSources == null )
return new NullIterator();
return new TunnelIterator( tunnelSources, clz );
return new NullIterator<T>();
return new TunnelIterator<T>( tunnelSources, clz );
}
public void setSource(Collection<T> c)