You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/08/31 00:20:08 UTC

[41/50] [abbrv] git commit: Fix javadoc markup.

Fix javadoc markup.


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/b0e96b74
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/b0e96b74
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/b0e96b74

Branch: refs/heads/messaging-module
Commit: b0e96b7425da283660921db5cf25b0ebebb2cd67
Parents: 38c0468
Author: Matt Sicker <ma...@apache.org>
Authored: Fri Aug 29 22:19:52 2014 -0500
Committer: Matt Sicker <ma...@apache.org>
Committed: Fri Aug 29 22:19:52 2014 -0500

----------------------------------------------------------------------
 .../logging/log4j/core/lookup/StrLookup.java     | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/b0e96b74/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrLookup.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrLookup.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrLookup.java
index 0ad4219..a721087 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrLookup.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrLookup.java
@@ -24,14 +24,15 @@ import org.apache.logging.log4j.core.LogEvent;
  * This class represents the simplest form of a string to string map.
  * It has a benefit over a map in that it can create the result on
  * demand based on the key.
+ * </p>
  * <p>
  * This class comes complete with various factory methods.
  * If these do not suffice, you can subclass and implement your own matcher.
+ * </p>
  * <p>
  * For example, it would be possible to implement a lookup that used the
  * key as a primary key, and looked up the value on demand from the database
- *
- * @version $Id$
+ * </p>
  */
 public interface StrLookup {
     /**
@@ -40,17 +41,20 @@ public interface StrLookup {
      * The internal implementation may use any mechanism to return the value.
      * The simplest implementation is to use a Map. However, virtually any
      * implementation is possible.
+     * </p>
      * <p>
      * For example, it would be possible to implement a lookup that used the
      * key as a primary key, and looked up the value on demand from the database
      * Or, a numeric based implementation could be created that treats the key
      * as an integer, increments the value and return the result as a string -
      * converting 1 to 2, 15 to 16 etc.
+     * </p>
      * <p>
-     * The {@link #lookup(String)} method always returns a String, regardless of
+     * This method always returns a String, regardless of
      * the underlying data, by converting it as necessary. For example:
+     * </p>
      * <pre>
-     * Map<String, Object> map = new HashMap<String, Object>();
+     * Map&lt;String, Object&gt; map = new HashMap&lt;String, Object&gt;();
      * map.put("number", new Integer(2));
      * assertEquals("2", StrLookup.mapLookup(map).lookup("number"));
      * </pre>
@@ -65,17 +69,20 @@ public interface StrLookup {
      * The internal implementation may use any mechanism to return the value.
      * The simplest implementation is to use a Map. However, virtually any
      * implementation is possible.
+     * </p>
      * <p>
      * For example, it would be possible to implement a lookup that used the
      * key as a primary key, and looked up the value on demand from the database
      * Or, a numeric based implementation could be created that treats the key
      * as an integer, increments the value and return the result as a string -
      * converting 1 to 2, 15 to 16 etc.
+     * </p>
      * <p>
-     * The {@link #lookup(String)} method always returns a String, regardless of
+     * This method always returns a String, regardless of
      * the underlying data, by converting it as necessary. For example:
+     * </p>
      * <pre>
-     * Map<String, Object> map = new HashMap<String, Object>();
+     * Map&lt;String, Object&gt; map = new HashMap&lt;String, Object&gt;();
      * map.put("number", new Integer(2));
      * assertEquals("2", StrLookup.mapLookup(map).lookup("number"));
      * </pre>