fixing checkstyle errors

This commit is contained in:
alshabib 2014-09-05 18:03:45 -07:00
parent c4901cdbbb
commit 638dc71f00
17 changed files with 10 additions and 24 deletions

View File

@ -5,7 +5,7 @@ import org.projectfloodlight.openflow.protocol.OFPacketIn;
import org.projectfloodlight.openflow.protocol.OFPacketOut; import org.projectfloodlight.openflow.protocol.OFPacketOut;
import org.projectfloodlight.openflow.types.OFPort; import org.projectfloodlight.openflow.types.OFPort;
public class DefaultPacketContext implements PacketContext { public final class DefaultPacketContext implements PacketContext {
private boolean free = true; private boolean free = true;
private boolean isBuilt = false; private boolean isBuilt = false;
@ -55,7 +55,7 @@ public class DefaultPacketContext implements PacketContext {
return null; return null;
} }
public static PacketContext PacketContextFromPacketIn(OpenFlowSwitch s, OFPacketIn pkt) { public static PacketContext packetContextFromPacketIn(OpenFlowSwitch s, OFPacketIn pkt) {
return new DefaultPacketContext(s, pkt); return new DefaultPacketContext(s, pkt);
} }

View File

@ -37,7 +37,7 @@ import java.util.Arrays;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu) *
*/ */
public class ARP extends BasePacket { public class ARP extends BasePacket {
public static final short HW_TYPE_ETHERNET = 0x1; public static final short HW_TYPE_ETHERNET = 0x1;

View File

@ -34,7 +34,7 @@ package org.onlab.packet;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu) *
*/ */
public abstract class BasePacket implements IPacket { public abstract class BasePacket implements IPacket {
protected IPacket parent; protected IPacket parent;

View File

@ -40,7 +40,6 @@ import java.util.ListIterator;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu)
*/ */
public class DHCP extends BasePacket { public class DHCP extends BasePacket {
/** /**

View File

@ -36,7 +36,6 @@ import java.util.Arrays;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu)
*/ */
public class DHCPOption { public class DHCPOption {
protected byte code; protected byte code;

View File

@ -36,7 +36,6 @@ import java.util.Arrays;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu)
*/ */
public class Data extends BasePacket { public class Data extends BasePacket {
protected byte[] data; protected byte[] data;

View File

@ -40,7 +40,6 @@ import java.util.Map;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu)
*/ */
public class Ethernet extends BasePacket { public class Ethernet extends BasePacket {
private static final String HEXES = "0123456789ABCDEF"; private static final String HEXES = "0123456789ABCDEF";

View File

@ -37,7 +37,6 @@ import java.nio.ByteBuffer;
/** /**
* Implements ICMP packet format. * Implements ICMP packet format.
* *
* @author shudong.zhou@bigswitch.com
*/ */
public class ICMP extends BasePacket { public class ICMP extends BasePacket {
protected byte icmpType; protected byte icmpType;

View File

@ -34,7 +34,6 @@ package org.onlab.packet;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu)
*/ */
public interface IPacket { public interface IPacket {
/** /**

View File

@ -42,7 +42,6 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
/** /**
* @author David Erickson (daviderickson@cs.stanford.edu)
* *
*/ */
public class IPv4 extends BasePacket { public class IPv4 extends BasePacket {

View File

@ -38,7 +38,6 @@ import java.nio.ByteBuffer;
* This class represents an Link Local Control header that is used in Ethernet * This class represents an Link Local Control header that is used in Ethernet
* 802.3. * 802.3.
* *
* @author alexreimers
* *
*/ */
public class LLC extends BasePacket { public class LLC extends BasePacket {

View File

@ -40,7 +40,6 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* @author David Erickson (daviderickson@cs.stanford.edu)
* *
*/ */
public class LLDP extends BasePacket { public class LLDP extends BasePacket {

View File

@ -36,7 +36,6 @@ import java.util.Arrays;
/** /**
* The class representing LLDP Organizationally Specific TLV. * The class representing LLDP Organizationally Specific TLV.
* *
* @author Sho Shimizu (sho.shimizu@gmail.com)
*/ */
public class LLDPOrganizationalTLV extends LLDPTLV { public class LLDPOrganizationalTLV extends LLDPTLV {
public static final int OUI_LENGTH = 3; public static final int OUI_LENGTH = 3;

View File

@ -38,7 +38,6 @@ import java.util.Arrays;
/** /**
* *
* *
* @author David Erickson (daviderickson@cs.stanford.edu)
*/ */
public class LLDPTLV { public class LLDPTLV {
protected byte type; protected byte type;

View File

@ -20,7 +20,6 @@ import java.util.Arrays;
/** /**
* The class representing MAC address. * The class representing MAC address.
* *
* @author Sho Shimizu (sho.shimizu@gmail.com)
*/ */
public class MACAddress { public class MACAddress {
public static final int MAC_ADDRESS_LENGTH = 6; public static final int MAC_ADDRESS_LENGTH = 6;

View File

@ -36,7 +36,6 @@ import java.nio.ByteBuffer;
/** /**
* *
* @author shudong.zhou@bigswitch.com
*/ */
public class TCP extends BasePacket { public class TCP extends BasePacket {

View File

@ -38,7 +38,6 @@ import java.util.Map;
/** /**
* *
* @author David Erickson (daviderickson@cs.stanford.edu)
*/ */
public class UDP extends BasePacket { public class UDP extends BasePacket {