Fix formatting

This commit is contained in:
norman 2011-10-24 12:53:53 +02:00
parent 6dce4098d7
commit e9f97d6662
7 changed files with 11 additions and 11 deletions

View File

@ -71,7 +71,7 @@ public class CIDR4 extends CIDR
}
@Override
public int compareTo(CIDR arg)
public int compareTo(CIDR arg)
{
if (arg instanceof CIDR6)
{

View File

@ -78,7 +78,7 @@ public class CIDR6 extends CIDR
}
@Override
public int compareTo(CIDR arg)
public int compareTo(CIDR arg)
{
if (arg instanceof CIDR4)
{

View File

@ -113,7 +113,7 @@ public abstract class IpFilteringHandlerImpl implements ChannelUpstreamHandler,
* @see org.jboss.netty.channel.ChannelUpstreamHandler#handleUpstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent)
*/
@Override
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
{
if (e instanceof ChannelStateEvent)
{
@ -189,7 +189,7 @@ public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exc
* @see org.jboss.netty.handler.ipfilter.IpFilteringHandler#setIpFilterListener(org.jboss.netty.handler.ipfilter.IpFilterListener)
*/
@Override
public void setIpFilterListener(IpFilterListener listener)
public void setIpFilterListener(IpFilterListener listener)
{
this.listener = listener;
}
@ -198,7 +198,7 @@ public void setIpFilterListener(IpFilterListener listener)
* @see org.jboss.netty.handler.ipfilter.IpFilteringHandler#removeIpFilterListener()
*/
@Override
public void removeIpFilterListener()
public void removeIpFilterListener()
{
this.listener = null;

View File

@ -159,7 +159,7 @@ public boolean contains(InetAddress inetAddress)
* Compare two IpSubnet
*/
@Override
public int compareTo(IpSubnet o)
public int compareTo(IpSubnet o)
{
return cidr.toString().compareTo(o.cidr.toString());
}

View File

@ -79,13 +79,13 @@ public class IpSubnetFilterRule extends IpSubnet implements IpFilterRule
}
@Override
public boolean isAllowRule()
public boolean isAllowRule()
{
return isAllowRule;
}
@Override
public boolean isDenyRule()
public boolean isDenyRule()
{
return !isAllowRule;
}

View File

@ -278,7 +278,7 @@ public boolean contains(InetAddress inetAddress1)
* Compare two IpV4Subnet
*/
@Override
public int compareTo(IpV4Subnet o)
public int compareTo(IpV4Subnet o)
{
if (o.subnet == subnet && o.cidrMask == cidrMask)
{

View File

@ -74,13 +74,13 @@ public class IpV4SubnetFilterRule extends IpV4Subnet implements IpFilterRule
}
@Override
public boolean isAllowRule()
public boolean isAllowRule()
{
return isAllowRule;
}
@Override
public boolean isDenyRule()
public boolean isDenyRule()
{
return !isAllowRule;
}