commit | e1e60d0121a9ec6b44cb91fd317dbe318ad6f9aa | [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 14:25:17 2018 -0800 |
tree | 7f0f32e6acba551c778697788d470e3c2cf52638 | |
parent | d1b1e952b2f1cd86efa5f3eee866e4ed054aa26f [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) {