diff --git a/logback-core/src/main/java/ch/qos/logback/core/spi/ContextAwareBase.java b/logback-core/src/main/java/ch/qos/logback/core/spi/ContextAwareBase.java index 5dc5cda02c..7800272346 100644 --- a/logback-core/src/main/java/ch/qos/logback/core/spi/ContextAwareBase.java +++ b/logback-core/src/main/java/ch/qos/logback/core/spi/ContextAwareBase.java @@ -34,7 +34,7 @@ public class ContextAwareBase implements ContextAware { public ContextAwareBase() { declaredOrigin = this; } - public ContextAwareBase(Object declaredOrigin) { + public ContextAwareBase(ContextAware declaredOrigin) { this.declaredOrigin = declaredOrigin; }