You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/01/12 15:19:31 UTC
svn commit: r1432427 - in /commons/proper/logging/trunk: ./
src/java/org/apache/commons/logging/
src/java/org/apache/commons/logging/impl/
Author: tn
Date: Sat Jan 12 14:19:30 2013
New Revision: 1432427
URL: http://svn.apache.org/viewvc?rev=1432427&view=rev
Log:
Fix typos.
Modified:
commons/proper/logging/trunk/NOTICE.txt
commons/proper/logging/trunk/STATUS.html
commons/proper/logging/trunk/src/java/org/apache/commons/logging/Log.java
commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/ServletContextCleaner.java
commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java
Modified: commons/proper/logging/trunk/NOTICE.txt
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/NOTICE.txt?rev=1432427&r1=1432426&r2=1432427&view=diff
==============================================================================
--- commons/proper/logging/trunk/NOTICE.txt (original)
+++ commons/proper/logging/trunk/NOTICE.txt Sat Jan 12 14:19:30 2013
@@ -1,5 +1,5 @@
Apache Commons Logging
-Copyright 2003-2007 The Apache Software Foundation
+Copyright 2003-2013 The Apache Software Foundation
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
Modified: commons/proper/logging/trunk/STATUS.html
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/STATUS.html?rev=1432427&r1=1432426&r2=1432427&view=diff
==============================================================================
--- commons/proper/logging/trunk/STATUS.html (original)
+++ commons/proper/logging/trunk/STATUS.html Sat Jan 12 14:19:30 2013
@@ -49,7 +49,7 @@ to allow users to use the package standa
</p>
<p>commons-logging was heavily influenced by Avalon's Logkit and Log4J. The commons-logging
-abstraction is meant to minimixe the differences between the two, and to allow a
+abstraction is meant to minimize the differences between the two, and to allow a
developer to not tie himself to a particular logging implementation.
</p>
@@ -64,7 +64,7 @@ The package does :
<li>Provide support for <a href="http://sourceforge.net/projects/lumberjack/">
LumberJack</a> logger</li>
<li>Provide pluggable support for other logging APIs</li>
-<li>Privide a simple System.out logger</li>
+<li>Provide a simple System.out logger</li>
</ul>
</p>
Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/Log.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/Log.java?rev=1432427&r1=1432426&r2=1432427&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/Log.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/Log.java Sat Jan 12 14:19:30 2013
@@ -35,7 +35,7 @@ package org.apache.commons.logging;
* </ol>
* The mapping of these log levels to the concepts used by the underlying
* logging system is implementation dependent.
- * The implemention should ensure, though, that this ordering behaves
+ * The implementation should ensure, though, that this ordering behaves
* as expected.</p>
*
* <p>Performance is often a logging concern.
Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java?rev=1432427&r1=1432426&r2=1432427&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java Sat Jan 12 14:19:30 2013
@@ -310,7 +310,7 @@ public abstract class LogFactory {
protected static Hashtable factories = null;
/**
- * Prevously constructed <code>LogFactory</code> instance as in the
+ * Previously constructed <code>LogFactory</code> instance as in the
* <code>factories</code> map, but for the case where
* <code>getClassLoader</code> returns <code>null</code>.
* This can happen when:
@@ -411,7 +411,7 @@ public abstract class LogFactory {
* properties defined in this file will be set as configuration attributes
* on the corresponding <code>LogFactory</code> instance.</p>
*
- * <p><em>NOTE</em> - In a multithreaded environment it is possible
+ * <p><em>NOTE</em> - In a multi-threaded environment it is possible
* that two different instances will be returned for the same
* classloader environment.
* </p>
@@ -464,7 +464,7 @@ public abstract class LogFactory {
String useTCCLStr = props.getProperty(TCCL_KEY);
if (useTCCLStr != null) {
// The Boolean.valueOf(useTCCLStr).booleanValue() formulation
- // is required for Java 1.2 compatability.
+ // is required for Java 1.2 compatibility.
if (Boolean.valueOf(useTCCLStr).booleanValue() == false) {
// Don't use current context classloader when locating any
// LogFactory or Log classes, just use the class that loaded
Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/ServletContextCleaner.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/ServletContextCleaner.java?rev=1432427&r1=1432426&r2=1432427&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/ServletContextCleaner.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/ServletContextCleaner.java Sat Jan 12 14:19:30 2013
@@ -43,7 +43,7 @@ import org.apache.commons.logging.LogFac
* <p>
* To use this class, configure the webapp deployment descriptor to call
* this class on webapp undeploy; the contextDestroyed method will tell
- * every accessable LogFactory class that the entry in its map for the
+ * every accessible LogFactory class that the entry in its map for the
* current webapp's context classloader should be cleared.
*
* @since 1.1
@@ -96,8 +96,8 @@ public class ServletContextCleaner imple
// clear any problem references.
ClassLoader loader = tccl;
while (loader != null) {
- // Load via the current loader. Note that if the class is not accessable
- // via this loader, but is accessable via some ancestor then that class
+ // Load via the current loader. Note that if the class is not accessible
+ // via this loader, but is accessible via some ancestor then that class
// will be returned.
try {
Class logFactoryClass = loader.loadClass("org.apache.commons.logging.LogFactory");
@@ -113,7 +113,7 @@ public class ServletContextCleaner imple
System.err.println("LogFactory instance found which does not support release method!");
loader = null;
} catch(IllegalAccessException ex) {
- // This is not expected; every ancestor class should be accessable
+ // This is not expected; every ancestor class should be accessible
System.err.println("LogFactory instance found which is not accessable!");
loader = null;
} catch(InvocationTargetException ex) {
Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java?rev=1432427&r1=1432426&r2=1432427&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java Sat Jan 12 14:19:30 2013
@@ -33,7 +33,7 @@ import java.util.Set;
* to hold its keys thus allowing them to be reclaimed by the garbage collector.
* The associated values are retained using strong references.</p>
*
- * <p>This class follows the symantics of <code>Hashtable</code> as closely as
+ * <p>This class follows the semantics of <code>Hashtable</code> as closely as
* possible. It therefore does not accept null values or keys.</p>
*
* <p><strong>Note:</strong>
@@ -45,7 +45,7 @@ import java.util.Set;
* </p>
* <p>
* <strong>Usage:</strong> typical use case is as a drop-in replacement
- * for the <code>Hashtable</code> used in <code>LogFactory</code> for J2EE enviroments
+ * for the <code>Hashtable</code> used in <code>LogFactory</code> for J2EE environments
* running 1.3+ JVMs. Use of this class <i>in most cases</i> (see below) will
* allow classloaders to be collected by the garbage collector without the need
* to call {@link org.apache.commons.logging.LogFactory#release(ClassLoader) LogFactory.release(ClassLoader)}.
@@ -53,7 +53,7 @@ import java.util.Set;
*
* <p><code>org.apache.commons.logging.LogFactory</code> checks whether this class
* can be supported by the current JVM, and if so then uses it to store
- * references to the <code>LogFactory</code> implementationd it loads
+ * references to the <code>LogFactory</code> implementation it loads
* (rather than using a standard Hashtable instance).
* Having this class used instead of <code>Hashtable</code> solves
* certain issues related to dynamic reloading of applications in J2EE-style
@@ -225,7 +225,7 @@ public final class WeakHashtable extends
*@see Hashtable
*/
public Object put(Object key, Object value) {
- // check for nulls, ensuring symantics match superclass
+ // check for nulls, ensuring semantics match superclass
if (key == null) {
throw new NullPointerException("Null keys are not allowed");
}