Skip to content

Commit

Permalink
Compiler warning (opensearch-project#195)
Browse files Browse the repository at this point in the history
* clean up compiler warning

Signed-off-by: mloufra <[email protected]>

* add type for transportAction

Signed-off-by: mloufra <[email protected]>

Signed-off-by: mloufra <[email protected]>
  • Loading branch information
mloufra authored and kokibas committed Mar 17, 2023
1 parent c8e414d commit 9d2f331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/opensearch/sdk/TransportActions.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public class TransportActions {
private final Logger logger = LogManager.getLogger(TransportActions.class);
private Map<String, Class> transportActions;
private Map<String, Class<? extends TransportAction<? extends ActionRequest, ? extends ActionResponse>>> transportActions;

/**
* Constructor for TransportActions. Creates a map of transportActions for this extension.
Expand Down

0 comments on commit 9d2f331

Please sign in to comment.