Skip to content

Commit 2c90d70

Browse files
committed
Merge branch 'develop' of https://github.com/EXXETA/correomqtt into develop
2 parents 3ba5195 + 9444327 commit 2c90d70

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/correomqtt/business/model

1 file changed

+1
-1
lines changed

src/main/java/org/correomqtt/business/model/Qos.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static Qos valueOf(MqttQos qos) {
2929
@SuppressWarnings("unused")
3030
@JsonCreator
3131
public static Qos fromJsonValue(int value) {
32-
if (value < 0 || value >= 2) {
32+
if (value < 0 || value > 2) {
3333
return null;
3434
}
3535
return values()[value];

0 commit comments

Comments
 (0)