logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1612020 - in /logging/log4j/log4j2/trunk: log4j-api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java
Date Sun, 20 Jul 2014 04:40:40 GMT
Author: ggregory
Date: Sun Jul 20 04:40:40 2014
New Revision: 1612020

URL: http://svn.apache.org/r1612020
Log:
Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".

Modified:
    logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java?rev=1612020&r1=1612019&r2=1612020&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
Sun Jul 20 04:40:40 2014
@@ -519,7 +519,7 @@ public class ParameterizedMessage implem
      * <p/>
      * Copied from Object.hashCode():
      * As much as is reasonably practical, the hashCode method defined by
-     * class <tt>Object</tt> does return distinct integers for distinct
+     * class {@code Object} does return distinct integers for distinct
      * objects. (This is typically implemented by converting the internal
      * address of the object into an integer, but this implementation
      * technique is not required by the

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java?rev=1612020&r1=1612019&r2=1612020&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java
Sun Jul 20 04:40:40 2014
@@ -126,7 +126,7 @@ public final class AvailablePortFinder {
      * Checks to see if a specific port is available.
      *
      * @param port the port number to check for availability
-     * @return <tt>true</tt> if the port is available, or <tt>false</tt>
if not
+     * @return {@code true} if the port is available, or {@code false} if not
      * @throws IllegalArgumentException is thrown if the port number is out of range
      */
     public static synchronized boolean available(final int port) throws IllegalArgumentException
{



Mime
View raw message