Skip to content

Commit dd0e0bb

Browse files
committed
Fixed java doc.
Signed-off-by: Ilia Beliaev <silhlol@gmail.com>
1 parent 6e25c4c commit dd0e0bb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/wire

org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/wire/MqttWireMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,13 +375,13 @@ public static String decodeUTF8(DataInputStream input) throws MqttException {
375375
*
376376
* @param input
377377
* - The Input String
378-
* @throws IllegalArgumentException
378+
* @throws IllegalArgumentException - thrown if input String contains illegal characters or character sequences.
379379
*/
380380
private static void validateUTF8String(String input) throws IllegalArgumentException {
381381
for (int i = 0; i < input.length(); i++) {
382382
boolean isBad = false;
383383
char c = input.charAt(i);
384-
/* Check for mismatched surrogates */
384+
// Check for mismatched surrogates
385385
if (Character.isHighSurrogate(c)) {
386386
if (++i == input.length()) {
387387
isBad = true; /* Trailing high surrogate */

0 commit comments

Comments
 (0)