commit | c42dc90bfb12ce143d05d0a1b0a2ba429d0c0276 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Wed Jan 24 16:45:51 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Thu Jan 25 23:22:01 2018 +0000 |
tree | 3132e14ef0a29d85ed8d876b71a147c19af71305 | |
parent | d861594c50f7cf13599f8d9a4ed9ec3252198288 [diff] |
SONAR suggestion - toString() should not return null Change-Id: I9b31515b24052d60895ef2151609ea734ef18c3b
diff --git a/utils/misc/src/main/java/org/onlab/packet/DHCPPacketType.java b/utils/misc/src/main/java/org/onlab/packet/DHCPPacketType.java index 2dad848..c88b907 100644 --- a/utils/misc/src/main/java/org/onlab/packet/DHCPPacketType.java +++ b/utils/misc/src/main/java/org/onlab/packet/DHCPPacketType.java
@@ -80,7 +80,7 @@ break; } - return null; + return ""; } public static DHCPPacketType getType(final int value) {