garydgregory commented on a change in pull request #789:
URL: https://github.com/apache/logging-log4j2/pull/789#discussion_r824932114
##########
File path: log4j-1.2-api/src/main/java/org/apache/log4j/Priority.java
##########
@@ -148,6 +149,14 @@ final int getSyslogEquivalent() {
return syslogEquivalent;
}
+ /**
+ * Returns the Log4j 2.x level associated with this priority
Review comment:
For getter methods, I write Javadocs that say "Gets ...". IOW, a getter
"Gets...", a setter "Sets..." and so on.
##########
File path: log4j-1.2-api/src/main/java/org/apache/log4j/Priority.java
##########
@@ -148,6 +149,14 @@ final int getSyslogEquivalent() {
return syslogEquivalent;
}
+ /**
+ * Returns the Log4j 2.x level associated with this priority
Review comment:
For getter methods, I write Javadocs that say "Gets ...". IOW, a getter
"Gets...", a setter "Sets..." and so on.
--
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]