Xushaohong opened a new pull request #2082: URL: https://github.com/apache/ozone/pull/2082
## What changes were proposed in this pull request? The root cause of this warning is due to misleadingly using generic classes instead of generic methods. The generic class specifies the real type when instantiating, and the generic method specifies the real type when it is being called. There are two methods under DBTransactionBuffer, the method` addToBuffer` and `removeFromBuffer`. According to where these methods call, they are actually designed to write keys into separate tables or remove them. The key and value of different table are different, and so are the types. This is where generic methods work. Thus I modified the generic class and erased the generic class. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-4982 ## How was this patch tested? CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
