You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/21 00:22:51 UTC
(commons-logging) branch master updated: Spelling
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-logging.git
The following commit(s) were added to refs/heads/master by this push:
new e4d94ff Spelling
e4d94ff is described below
commit e4d94ff51eb12d785e2ef52368527b317bef6e98
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 20 19:22:47 2023 -0500
Spelling
---
src/main/java/org/apache/commons/logging/LogFactory.java | 2 +-
src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java | 2 +-
src/test/java/org/apache/commons/logging/PathableClassLoader.java | 6 +++---
.../org/apache/commons/logging/config/PriorityConfigTestCase.java | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/logging/LogFactory.java b/src/main/java/org/apache/commons/logging/LogFactory.java
index 61d294c..34475d6 100644
--- a/src/main/java/org/apache/commons/logging/LogFactory.java
+++ b/src/main/java/org/apache/commons/logging/LogFactory.java
@@ -374,7 +374,7 @@ public abstract class LogFactory {
* At this point, either classLoader == null, OR classLoader was unable to load factoryClass.
*
* In either case, we call Class.forName, which is equivalent to LogFactory.class.getClassLoader().load(name), that is, we ignore the classloader
- * parameter the caller passed, and fall back to trying the classloader associated with this class. See the javadoc for the newFactory method for
+ * parameter the caller passed, and fall back to trying the classloader associated with this class. See the Javadoc for the newFactory method for
* more info on the consequences of this.
*
* Notes: * LogFactory.class.getClassLoader() may return 'null' if LogFactory is loaded by the bootstrap classloader.
diff --git a/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java b/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java
index 7bdf7e2..15abfa2 100644
--- a/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java
+++ b/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java
@@ -493,7 +493,7 @@ public class LogFactoryImpl extends LogFactory {
/**
* Attempts to create a Log instance for the given category name.
- * Follows the discovery process described in the class javadoc.
+ * Follows the discovery process described in the class Javadoc.
*
* @param logCategory the name of the log category
*
diff --git a/src/test/java/org/apache/commons/logging/PathableClassLoader.java b/src/test/java/org/apache/commons/logging/PathableClassLoader.java
index 03e04b0..a58d38d 100644
--- a/src/test/java/org/apache/commons/logging/PathableClassLoader.java
+++ b/src/test/java/org/apache/commons/logging/PathableClassLoader.java
@@ -43,7 +43,7 @@ import junit.framework.Assert;
* resources from the parent. However overriding this method isn't possible
* as the java 1.4 version of ClassLoader declares this method final
* (though the java 1.5 version has removed the final qualifier). As the
- * ClassLoader javadoc doesn't specify the order in which resources
+ * ClassLoader Javadoc doesn't specify the order in which resources
* are returned, it's valid to return the resources in any order (just
* untidy) so the inherited implementation is technically ok.
*/
@@ -201,7 +201,7 @@ public class PathableClassLoader extends URLClassLoader {
return local.openStream();
} catch (final IOException e) {
// TODO: check if this is right or whether we should
- // fall back to trying parent. The javadoc doesn't say...
+ // fall back to trying parent. The Javadoc doesn't say...
return null;
}
}
@@ -351,7 +351,7 @@ public class PathableClassLoader extends URLClassLoader {
* which are visible in shared class loaders provided by the container.
* <p>
* Note that the method getResources always behaves as if parentFirst=true,
- * because of limitations in java 1.4; see the javadoc for method
+ * because of limitations in java 1.4; see the Javadoc for method
* getResourcesInOrder for details.
* <p>
* This value defaults to true.
diff --git a/src/test/java/org/apache/commons/logging/config/PriorityConfigTestCase.java b/src/test/java/org/apache/commons/logging/config/PriorityConfigTestCase.java
index 4019bc5..9a6f9d3 100644
--- a/src/test/java/org/apache/commons/logging/config/PriorityConfigTestCase.java
+++ b/src/test/java/org/apache/commons/logging/config/PriorityConfigTestCase.java
@@ -43,7 +43,7 @@ import junit.framework.TestCase;
* <p>
* Note that parentFirst=true is used in this test because method
* {@code PathableClassLoader.getResources} always behaves as if
- * parentFirst=true; see the PathableClassLoader javadoc for details.
+ * parentFirst=true; see the PathableClassLoader Javadoc for details.
*/
public class PriorityConfigTestCase extends TestCase {