Merge pull request #157 from thatsIch/Spelling

Spelling
This commit is contained in:
Chris
2014-09-28 10:09:39 -07:00
220 changed files with 1644 additions and 1665 deletions
@@ -10,24 +10,24 @@ public class TunnelCollection<T extends PartP2PTunnel> implements Iterable<T>
{
final Class clz;
Collection<T> tunnelsource;
Collection<T> tunnelSources;
public TunnelCollection(Collection<T> src, Class c) {
tunnelsource = src;
tunnelSources = src;
clz = c;
}
@Override
public Iterator<T> iterator()
{
if ( tunnelsource == null )
if ( tunnelSources == null )
return new NullIterator();
return new TunnelIterator( tunnelsource, clz );
return new TunnelIterator( tunnelSources, clz );
}
public void setSource(Collection<T> c)
{
tunnelsource = c;
tunnelSources = c;
}
public boolean isEmpty()
+2 -2
View File
@@ -22,8 +22,8 @@ public class TunnelIterator<T extends PartP2PTunnel> implements Iterator<T>
}
}
public TunnelIterator(Collection<T> tunnelsource, Class clz) {
wrapped = tunnelsource.iterator();
public TunnelIterator(Collection<T> tunnelSources, Class clz) {
wrapped = tunnelSources.iterator();
targetType = clz;
findNext();
}