Minor change, minor readability improve

This commit is contained in:
andrea
2013-08-27 16:24:11 +02:00
parent 2cc474dd26
commit 4037a0c0b0
2 changed files with 5 additions and 2 deletions
@@ -25,6 +25,10 @@ public abstract class AbstractMessage {
public static enum QOSType {
MOST_ONE, LEAST_ONE, EXACTLY_ONCE, RESERVED;
public static QOSType fromByte(byte val) {
return AbstractMessage.QOSType.values()[val];
}
}
//type
protected boolean m_dupFlag;