You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/11/16 04:20:50 UTC
[GitHub] [hadoop-ozone] bharatviswa504 commented on a change in pull request
#196: HDDS-2516. Code cleanup in EventQueue
bharatviswa504 commented on a change in pull request #196: HDDS-2516. Code cleanup in EventQueue
URL: https://github.com/apache/hadoop-ozone/pull/196#discussion_r347075405
##########
File path: hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/events/Event.java
##########
@@ -20,16 +20,16 @@
/**
* Identifier of an async event.
*
- * @param <PAYLOAD> THe message payload type of this event.
+ * @param <P> THe message payload type of this event.
*/
-public interface Event<PAYLOAD> {
+public interface Event<P> {
Review comment:
Can we leave this generic type as PAYLOAD, instead of a single character (even though sonar reports it), it looks good while reading code.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org