Remove redundant javadocs. All docs in this class were copied directly from parent class which will be automatically generated by javadoc.
git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1621029 13f79535-47bb-0310-9956-ffa450edef68 Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/03f94632 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/03f94632 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/03f94632 Branch: refs/heads/messaging-module Commit: 03f94632bd82f88b35fed11f516c0cf56c22d2f1 Parents: 98893ff Author: mattsicker <mattsicker@unknown> Authored: Thu Aug 28 03:09:56 2014 +0000 Committer: mattsicker <mattsicker@unknown> Committed: Thu Aug 28 03:09:56 2014 +0000 ---------------------------------------------------------------------- .../log4j/spi/DefaultThreadContextMap.java | 42 -------------------- 1 file changed, 42 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/03f94632/log4j-api/src/main/java/org/apache/logging/log4j/spi/DefaultThreadContextMap.java ---------------------------------------------------------------------- diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/spi/DefaultThreadContextMap.java b/log4j-api/src/main/java/org/apache/logging/log4j/spi/DefaultThreadContextMap.java index 24d278e..a780634 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/spi/DefaultThreadContextMap.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/spi/DefaultThreadContextMap.java @@ -62,16 +62,6 @@ public class DefaultThreadContextMap implements ThreadContextMap { return new ThreadLocal<Map<String, String>>(); } - /** - * Put a context value (the <code>o</code> parameter) as identified - * with the <code>key</code> parameter into the current thread's - * context map. - * <p/> - * <p>If the current thread does not have a context map it is - * created as a side effect. - * @param key The key name. - * @param value The key value. - */ @Override public void put(final String key, final String value) { if (!useMap) { @@ -83,24 +73,12 @@ public class DefaultThreadContextMap implements ThreadContextMap { localMap.set(Collections.unmodifiableMap(map)); } - /** - * Get the context identified by the <code>key</code> parameter. - * <p/> - * <p>This method has no side effects. - * @param key The key to locate. - * @return The value associated with the key or null. - */ @Override public String get(final String key) { final Map<String, String> map = localMap.get(); return map == null ? null : map.get(key); } - /** - * Remove the the context identified by the <code>key</code> - * parameter. - * @param key The key to remove. - */ @Override public void remove(final String key) { final Map<String, String> map = localMap.get(); @@ -111,48 +89,28 @@ public class DefaultThreadContextMap implements ThreadContextMap { } } - /** - * Clear the context. - */ @Override public void clear() { localMap.remove(); } - /** - * Determine if the key is in the context. - * @param key The key to locate. - * @return True if the key is in the context, false otherwise. - */ @Override public boolean containsKey(final String key) { final Map<String, String> map = localMap.get(); return map != null && map.containsKey(key); } - /** - * Returns a non-{@code null} mutable copy of the ThreadContext Map. - * @return a non-{@code null} mutable copy of the context. - */ @Override public Map<String, String> getCopy() { final Map<String, String> map = localMap.get(); return map == null ? new HashMap<String, String>() : new HashMap<String, String>(map); } - /** - * Returns either {@code null} or an immutable view of the context Map. - * @return the Context Map. - */ @Override public Map<String, String> getImmutableMapOrNull() { return localMap.get(); } - /** - * Returns true if the Map is empty. - * @return true if the Map is empty, false otherwise. - */ @Override public boolean isEmpty() { final Map<String, String> map = localMap.get();
