File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
test/src/com/rabbitmq/client/test/functional Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,21 +32,21 @@ public class SaslMechanisms extends BrokerTestCase {
32
32
private String [] mechanisms ;
33
33
34
34
public class Mechanism implements SaslMechanism {
35
- public Mechanism (String name , byte [][] responses ) {
36
- this .name = name ;
37
- this .responses = responses ;
38
- }
39
-
40
35
private String name ;
41
36
private byte [][] responses ;
42
37
private int counter ;
43
38
39
+ public Mechanism (String name , byte [][] responses ) {
40
+ this .name = name ;
41
+ this .responses = responses ;
42
+ }
43
+
44
44
public String getName () {
45
45
return name ;
46
46
}
47
47
48
48
public LongString handleChallenge (LongString challenge , ConnectionFactory factory ) {
49
- counter ++;
49
+ counter ++;
50
50
return LongStringHelper .asLongString (responses [counter -1 ]);
51
51
}
52
52
}
You can’t perform that action at this time.
0 commit comments