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 {
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 }
You can’t perform that action at this time.
0 commit comments