You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2013/10/09 19:45:22 UTC
svn commit: r1530731 - in
/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup:
ContextMapLookup.java DateLookup.java EnvironmentLookup.java
JndiLookup.java StructuredDataLookup.java
Author: ggregory
Date: Wed Oct 9 17:45:22 2013
New Revision: 1530731
URL: http://svn.apache.org/r1530731
Log:
Javadoc: Use the active voice.
Modified:
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/ContextMapLookup.java
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/DateLookup.java
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/EnvironmentLookup.java
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JndiLookup.java
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StructuredDataLookup.java
Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/ContextMapLookup.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/ContextMapLookup.java?rev=1530731&r1=1530730&r2=1530731&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/ContextMapLookup.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/ContextMapLookup.java Wed Oct 9 17:45:22 2013
@@ -27,7 +27,7 @@ import org.apache.logging.log4j.core.con
public class ContextMapLookup implements StrLookup {
/**
- * Lookup the value from the ThreadContext Map.
+ * Looks up the value from the ThreadContext Map.
* @param key the key to be looked up, may be null
* @return The value associated with the key.
*/
@@ -37,7 +37,7 @@ public class ContextMapLookup implements
}
/**
- * Lookup the value from the ThreadContext Map.
+ * Looks up the value from the ThreadContext Map.
* @param event The current LogEvent.
* @param key the key to be looked up, may be null
* @return The value associated with the key.
Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/DateLookup.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/DateLookup.java?rev=1530731&r1=1530730&r2=1530731&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/DateLookup.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/DateLookup.java Wed Oct 9 17:45:22 2013
@@ -33,7 +33,7 @@ public class DateLookup implements StrLo
private static final Logger LOGGER = StatusLogger.getLogger();
/**
- * Get the value of the environment variable.
+ * Looks up the value of the environment variable.
* @param key the format to use. If null, the default DateFormat will be used.
* @return The value of the environment variable.
*/
@@ -43,7 +43,7 @@ public class DateLookup implements StrLo
}
/**
- * Get the value of the environment variable.
+ * Looks up the value of the environment variable.
* @param event The current LogEvent (is ignored by this StrLookup).
* @param key the format to use. If null, the default DateFormat will be used.
* @return The value of the environment variable.
Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/EnvironmentLookup.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/EnvironmentLookup.java?rev=1530731&r1=1530730&r2=1530731&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/EnvironmentLookup.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/EnvironmentLookup.java Wed Oct 9 17:45:22 2013
@@ -26,7 +26,7 @@ import org.apache.logging.log4j.core.con
public class EnvironmentLookup implements StrLookup {
/**
- * Get the value of the environment variable.
+ * Looks up the value of the environment variable.
* @param key the key to be looked up, may be null
* @return The value of the environment variable.
*/
@@ -36,7 +36,7 @@ public class EnvironmentLookup implement
}
/**
- * Get the value of the environment variable.
+ * Looks up the value of the environment variable.
* @param event The current LogEvent (is ignored by this StrLookup).
* @param key the key to be looked up, may be null
* @return The value of the environment variable.
Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JndiLookup.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JndiLookup.java?rev=1530731&r1=1530730&r2=1530731&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JndiLookup.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JndiLookup.java Wed Oct 9 17:45:22 2013
@@ -32,7 +32,7 @@ public class JndiLookup implements StrLo
static final String CONTAINER_JNDI_RESOURCE_PATH_PREFIX = "java:comp/env/";
/**
- * Get the value of the JNDI resource.
+ * Looks up the value of the JNDI resource.
* @param key the JNDI resource name to be looked up, may be null
* @return The value of the JNDI resource.
*/
@@ -42,7 +42,7 @@ public class JndiLookup implements StrLo
}
/**
- * Get the value of the JNDI resource.
+ * Looks up the value of the JNDI resource.
* @param event The current LogEvent (is ignored by this StrLookup).
* @param key the JNDI resource name to be looked up, may be null
* @return The value of the JNDI resource.
Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StructuredDataLookup.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StructuredDataLookup.java?rev=1530731&r1=1530730&r2=1530731&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StructuredDataLookup.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StructuredDataLookup.java Wed Oct 9 17:45:22 2013
@@ -27,7 +27,7 @@ import org.apache.logging.log4j.message.
public class StructuredDataLookup implements StrLookup {
/**
- * Lookup the value for the key.
+ * Looks up the value for the key.
* @param key the key to be looked up, may be null
* @return The value for the key.
*/
@@ -37,7 +37,7 @@ public class StructuredDataLookup implem
}
/**
- * Lookup the value for the key using the data in the LogEvent.
+ * Looks up the value for the key using the data in the LogEvent.
* @param event The current LogEvent.
* @param key the key to be looked up, may be null
* @return The value associated with the key.