Skip to content

Commit 3fa7d14

Browse files
author
Simon MacMullen
committed
Cosmetic.
1 parent 39a4051 commit 3fa7d14

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/src/com/rabbitmq/client/test/functional/SaslMechanisms.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ public class SaslMechanisms extends BrokerTestCase {
3232
private String[] mechanisms;
3333

3434
public class Mechanism implements SaslMechanism {
35-
public Mechanism(String name, byte[][] responses) {
36-
this.name = name;
37-
this.responses = responses;
38-
}
39-
4035
private String name;
4136
private byte[][] responses;
4237
private int counter;
4338

39+
public Mechanism(String name, byte[][] responses) {
40+
this.name = name;
41+
this.responses = responses;
42+
}
43+
4444
public String getName() {
4545
return name;
4646
}
4747

4848
public LongString handleChallenge(LongString challenge, ConnectionFactory factory) {
49-
counter ++;
49+
counter++;
5050
return LongStringHelper.asLongString(responses[counter-1]);
5151
}
5252
}

0 commit comments

Comments
 (0)