Puts everywhere brackets

This commit is contained in:
thatsIch
2015-04-29 02:30:53 +02:00
parent 23aa8fd72d
commit 64ed05a1b4
465 changed files with 6726 additions and 14 deletions
@@ -62,10 +62,14 @@ public class TickTracker implements Comparable<TickTracker>
this.current_rate = rate;
if( this.current_rate < this.request.minTickRate )
{
this.current_rate = this.request.minTickRate;
}
if( this.current_rate > this.request.maxTickRate )
{
this.current_rate = this.request.maxTickRate;
}
}
@Override
@@ -93,6 +97,8 @@ public class TickTracker implements Comparable<TickTracker>
DimensionalCoord dc = this.node.getGridBlock().getLocation();
if( dc != null )
{
crashreportcategory.addCrashSection( "Location", dc );
}
}
}
@@ -52,7 +52,9 @@ public class TunnelCollection<T extends PartP2PTunnel> implements Iterable<T>
public Iterator<T> iterator()
{
if( this.tunnelSources == null )
{
return new NullIterator<T>();
}
return new TunnelIterator<T>( this.tunnelSources, this.clz );
}
@@ -45,7 +45,9 @@ public class TunnelIterator<T extends PartP2PTunnel> implements Iterator<T>
{
this.Next = this.wrapped.next();
if( !this.targetType.isInstance( this.Next ) )
{
this.Next = null;
}
}
}