mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 09:21:06 +02:00
Fixing errorprone's warning.
Change-Id: I8bb35ca74df50c7c9d689272c1f7b24274303540
This commit is contained in:
parent
8235a1a6b0
commit
c5836479cf
@ -19,7 +19,6 @@ import java.nio.ByteBuffer;
|
||||
|
||||
import static org.onlab.packet.PacketUtils.checkInput;
|
||||
import static com.google.common.base.MoreObjects.toStringHelper;
|
||||
import static com.google.common.base.Preconditions.checkNotNull;
|
||||
|
||||
/**
|
||||
* ICMP packet class for echo purpose.
|
||||
@ -77,9 +76,6 @@ public class ICMPEcho extends BasePacket {
|
||||
*/
|
||||
@Override
|
||||
public byte[] serialize() {
|
||||
checkNotNull(this.identifier);
|
||||
checkNotNull(this.sequenceNum);
|
||||
|
||||
int length = ICMP_ECHO_HEADER_LENGTH;
|
||||
byte[] payloadData = null;
|
||||
if (this.payload != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user