-
Notifications
You must be signed in to change notification settings - Fork 62
Clean up compiler warnings #130
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Some code on main is producing compiler warnings and should be cleaned up so I don't see so many
- TransportActions.java
Classon line 29 needs type arguments. (Class<? extends TransportAction<? extends ActionRequest, ? extends ActionResponse>>>). This will need a simultaneous change to OpenSearch projectfeature/extensionsbranchRegisterTransportActionsRequestconstructor (and associated instance variable). - TransportAction.java
HashMapon line 38 needs a diamond operator (<>) - NamedWriteableRegistryApi.java lines 84 and 107 need generic types for the
Class(probably<? extends NamedWritable>). This will need a simultaneous change to OpenSearch projectfeature/extensionsbranchNamedWriteable RegistryParseRequestto change the type ofcategoryClassto add the same generics. - SDKClient.java has an unused
logger. Either log something or remove it. - TestNamedWriteable.java has an unused inner class constructor
Example(String message). I suspect this means there's missing tests somewhere. - Unused field
extensionsRunnerinNettyTransport(probably the result of a merge conflict resolution)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers