Skip to content

Commit a07cfd5

Browse files
logback-core: fix spelling errors (#956)
1 parent 02e7ef0 commit a07cfd5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

logback-core/src/main/java/ch/qos/logback/core/AsyncAppenderBase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ public void start() {
113113
addInfo("Setting discardingThreshold to " + discardingThreshold);
114114
worker.setDaemon(true);
115115
worker.setName("AsyncAppender-Worker-" + getName());
116-
// make sure this instance is marked as "started" before staring the worker
117-
// Thread
116+
// make sure this instance is marked as "started" before starting the
117+
// worker Thread
118118
super.start();
119119
worker.start();
120120
}
@@ -244,7 +244,7 @@ public boolean isNeverBlock() {
244244
* BlockingQueue#remainingCapacity()}
245245
*
246246
* @return the remaining capacity
247-
*
247+
*
248248
*/
249249
public int getRemainingCapacity() {
250250
return blockingQueue.remainingCapacity();

logback-core/src/main/java/ch/qos/logback/core/util/ContextUtil.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ public void addFrameworkPackage(List<String> frameworkPackages, String packageNa
8585
public void addOrReplaceShutdownHook(ShutdownHook hook) {
8686
Runtime runtime = Runtime.getRuntime();
8787

88-
Thread oldShutdownHookTread = (Thread) context.getObject(CoreConstants.SHUTDOWN_HOOK_THREAD);
89-
if(oldShutdownHookTread != null) {
88+
Thread oldShutdownHookThread = (Thread) context.getObject(CoreConstants.SHUTDOWN_HOOK_THREAD);
89+
if(oldShutdownHookThread != null) {
9090
addInfo("Removing old shutdown hook from JVM runtime");
91-
runtime.removeShutdownHook(oldShutdownHookTread);
91+
runtime.removeShutdownHook(oldShutdownHookThread);
9292
}
9393

9494
Thread hookThread = new Thread(hook, "Logback shutdown hook [" + context.getName() + "]");

0 commit comments

Comments
 (0)