garydgregory commented on code in PR #813:
URL: https://github.com/apache/logging-log4j2/pull/813#discussion_r841271988


##########
log4j-1.2-api/src/main/java/org/apache/log4j/Category.java:
##########
@@ -353,14 +369,26 @@ public boolean getAdditivity() {
     }
 
     /**
-     * Get the appenders contained in this category as an {@link Enumeration}. 
If no appenders can be found, then a
-     * {@link NullEnumeration} is returned.
+     * Get all the Log4j 1.x appenders contained in this category as an
+     * {@link Enumeration}. Log4j 2.x appenders are omitted.
      *
      * @return Enumeration An enumeration of the appenders in this category.
      */
     @Override
-    @SuppressWarnings("rawtypes")
-    public Enumeration getAllAppenders() {
+    public Enumeration<Appender> getAllAppenders() {

Review Comment:
   Using a generic here will cause compile errors in some cases
   



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to