@@ -42,12 +42,12 @@ public abstract class CommandEvent {
42
42
* @param operationId the operation id
43
43
* @param requestId the request id
44
44
* @param connectionDescription the connection description
45
- * @param commandName the command name
46
45
* @param databaseName the database name
46
+ * @param commandName the command name
47
47
* @since 4.11
48
48
*/
49
49
public CommandEvent (@ Nullable final RequestContext requestContext , final long operationId , final int requestId ,
50
- final ConnectionDescription connectionDescription , final String commandName , final String databaseName ) {
50
+ final ConnectionDescription connectionDescription , final String databaseName , final String commandName ) {
51
51
this .requestContext = requestContext ;
52
52
this .requestId = requestId ;
53
53
this .connectionDescription = connectionDescription ;
@@ -70,7 +70,7 @@ public CommandEvent(@Nullable final RequestContext requestContext, final long op
70
70
@ Deprecated
71
71
public CommandEvent (@ Nullable final RequestContext requestContext , final long operationId , final int requestId ,
72
72
final ConnectionDescription connectionDescription , final String commandName ) {
73
- this (requestContext , -1 , requestId , connectionDescription , commandName , "" );
73
+ this (requestContext , -1 , requestId , connectionDescription , "" , commandName );
74
74
}
75
75
76
76
/**
@@ -85,7 +85,7 @@ public CommandEvent(@Nullable final RequestContext requestContext, final long op
85
85
@ Deprecated
86
86
public CommandEvent (@ Nullable final RequestContext requestContext , final int requestId ,
87
87
final ConnectionDescription connectionDescription , final String commandName ) {
88
- this (requestContext , -1 , requestId , connectionDescription , commandName , "" );
88
+ this (requestContext , -1 , requestId , connectionDescription , "" , commandName );
89
89
}
90
90
91
91
/**
0 commit comments