mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-15 22:31:50 +01:00
Remove unnessasry semicolons
Change-Id: I8363e54ecaf80ad0a755d997ca1b9bbae2f1fa6e
This commit is contained in:
parent
b1f4e0f2f9
commit
8c7b06ad07
@ -34,7 +34,7 @@ public interface IpDevice extends Element {
|
||||
/**
|
||||
* Signifies that the device is non-pseudo device.
|
||||
*/
|
||||
NONPSEUDO;
|
||||
NONPSEUDO
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -45,6 +45,6 @@ public class OnosEvent extends AbstractEvent<OnosEvent.Type, byte[]> {
|
||||
/**
|
||||
* Signifies Link events.
|
||||
*/
|
||||
LINK;
|
||||
LINK
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ public abstract class ActionMappingInstruction implements MappingInstruction {
|
||||
/**
|
||||
* Signifies that the traffic should be dropped.
|
||||
*/
|
||||
DROP;
|
||||
DROP
|
||||
}
|
||||
|
||||
public abstract ActionType subtype();
|
||||
|
||||
@ -28,5 +28,5 @@ public enum L2Mode {
|
||||
* Tagged mode. In this case the packet need
|
||||
* the sd tag.
|
||||
*/
|
||||
TAGGED;
|
||||
TAGGED
|
||||
}
|
||||
|
||||
@ -1280,7 +1280,7 @@ public class L2TunnelHandler {
|
||||
/**
|
||||
* The reverse direction of the pseudo wire.
|
||||
*/
|
||||
REV;
|
||||
REV
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -130,7 +130,7 @@ public class TeTopologyEvent
|
||||
/**
|
||||
* Designates removal of a TE link.
|
||||
*/
|
||||
TE_LINK_REMOVED;
|
||||
TE_LINK_REMOVED
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -37,7 +37,7 @@ public interface VirtualPort {
|
||||
/**
|
||||
* Signifies that a virtualPort is currently unavailable.
|
||||
*/
|
||||
DOWN;
|
||||
DOWN
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -35,7 +35,7 @@ public class NiciraEncapEthDst extends AbstractExtension implements ExtensionTre
|
||||
private MacAddress encapEthDst;
|
||||
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder()
|
||||
.register(new MacAddressSerializer(), MacAddress.class).register(byte[].class).build();;
|
||||
.register(new MacAddressSerializer(), MacAddress.class).register(byte[].class).build();
|
||||
|
||||
/**
|
||||
* Creates a new nshEncapEthDst instruction.
|
||||
|
||||
@ -35,7 +35,7 @@ public class NiciraEncapEthSrc extends AbstractExtension implements ExtensionTre
|
||||
private MacAddress encapEthSrc;
|
||||
|
||||
private final KryoNamespace appKryo = new KryoNamespace.Builder()
|
||||
.register(new MacAddressSerializer(), MacAddress.class).register(byte[].class).build();;
|
||||
.register(new MacAddressSerializer(), MacAddress.class).register(byte[].class).build();
|
||||
|
||||
/**
|
||||
* Creates a new nshEncapEthSrc instruction.
|
||||
|
||||
@ -28,5 +28,5 @@ public enum TraversalMode {
|
||||
/**
|
||||
* Tree will NOT be traversed.
|
||||
*/
|
||||
NON_RECURSIVE;
|
||||
NON_RECURSIVE
|
||||
}
|
||||
@ -204,7 +204,7 @@ public interface Alarm {
|
||||
* correct the problem in order to prevent it from becoming a more
|
||||
* serious service affecting fault.
|
||||
*/
|
||||
WARNING;
|
||||
WARNING
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -449,7 +449,7 @@ public class BgpPeerImpl implements BgpPeer {
|
||||
@Override
|
||||
public final void setConnected(boolean connected) {
|
||||
this.connected = connected;
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void setChannel(Channel channel) {
|
||||
@ -464,12 +464,12 @@ public class BgpPeerImpl implements BgpPeer {
|
||||
channelId = '[' + ipAddress.toString() + "]:" + inetAddress.getPort();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Channel getChannel() {
|
||||
return this.channel;
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public String channelId() {
|
||||
|
||||
@ -50,6 +50,6 @@ public interface Bmv2MatchParam {
|
||||
/**
|
||||
* Valid match type.
|
||||
*/
|
||||
VALID;
|
||||
VALID
|
||||
}
|
||||
}
|
||||
|
||||
@ -38,5 +38,5 @@ public enum OspfLinkType {
|
||||
/**
|
||||
* Indicates a Virtual link to another area border router.
|
||||
*/
|
||||
VIRTUAL_LINK;
|
||||
VIRTUAL_LINK
|
||||
}
|
||||
@ -132,7 +132,7 @@ public class PcepClientImpl implements PcepClientDriver {
|
||||
@Override
|
||||
public final void setConnected(boolean connected) {
|
||||
this.connected = connected;
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void setChannel(Channel channel) {
|
||||
@ -147,7 +147,7 @@ public class PcepClientImpl implements PcepClientDriver {
|
||||
channelId = '[' + ipAddress.toString() + "]:" + inetAddress.getPort();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public String channelId() {
|
||||
|
||||
@ -48,7 +48,7 @@ public class Ethernet extends BasePacket {
|
||||
public static final short TYPE_VLAN = EthType.EtherType.VLAN.ethType().toShort();
|
||||
public static final short TYPE_BSN = EthType.EtherType.BDDP.ethType().toShort();
|
||||
|
||||
public static final short MPLS_UNICAST = EthType.EtherType.MPLS_UNICAST.ethType().toShort();;
|
||||
public static final short MPLS_UNICAST = EthType.EtherType.MPLS_UNICAST.ethType().toShort();
|
||||
public static final short MPLS_MULTICAST = EthType.EtherType.MPLS_MULTICAST.ethType().toShort();
|
||||
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ public class IpAddress implements Comparable<IpAddress> {
|
||||
private static final int BIT_MASK = 0x000000ff;
|
||||
|
||||
// IP Versions
|
||||
public enum Version { INET, INET6 };
|
||||
public enum Version { INET, INET6 }
|
||||
|
||||
// lengths of address, in bytes
|
||||
public static final int INET_BYTE_LENGTH = 4;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user