Skip to content

Commit c7e3dfb

Browse files
committed
Issue #540 - Removing some Sysouts and blank lines
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent 8b774d2 commit c7e3dfb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • org.eclipse.paho.mqttv5.common/src/main/java/org/eclipse/paho/mqttv5/common/packet

org.eclipse.paho.mqttv5.common/src/main/java/org/eclipse/paho/mqttv5/common/packet/MqttProperties.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,6 @@ public void decodeProperties(DataInputStream dis) throws IOException, MqttExcept
426426
// This property can only be included once
427427
throw new MqttException(MqttException.REASON_CODE_DUPLICATE_PROPERTY);
428428
}
429-
430-
431429

432430
if (identifier == PAYLOAD_FORMAT_INDICATOR_IDENTIFIER) {
433431
payloadFormat = (boolean) inputStream.readBoolean();
@@ -497,13 +495,11 @@ public void decodeProperties(DataInputStream dis) throws IOException, MqttExcept
497495

498496
// Unidentified Identifier
499497
inputStream.close();
500-
System.err.println("Invalid Identifier: " + identifier);
501498
throw new MqttException(MqttException.REASON_CODE_INVALID_IDENTIFIER);
502499
}
503500
} else {
504501
// Unidentified Identifier
505502
inputStream.close();
506-
System.err.println("Identifier not in valid list: " + identifier);
507503
throw new MqttException(MqttException.REASON_CODE_INVALID_IDENTIFIER);
508504
}
509505

0 commit comments

Comments
 (0)