parent
eb1fdbf6b6
commit
f742047a89
|
|
@ -42,7 +42,11 @@
|
|||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</dependency>
|
||||
<!-- Test dependencies -->
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
|
|
|
|||
|
|
@ -43,6 +43,11 @@ class CopyThreadLocalCallable<T> implements Callable<T> {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CopyThreadLocalCallable{ " + wrapped.toString() + " }";
|
||||
}
|
||||
|
||||
public Callable<? extends T> getWrapped() {
|
||||
return wrapped;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,11 @@ class CopyThreadLocalRunnable implements Runnable {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CopyThreadLocalRunnable{ " + wrapped.toString() + " }";
|
||||
}
|
||||
|
||||
public Runnable getWrapped() {
|
||||
return wrapped;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue