From aeced8b1a9e51a828c5ff3672c0d9e57923cf26e Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 6 Nov 2008 12:43:00 +0000 Subject: [PATCH] Made ThreadLocals generic. --- .../org/springframework/core/NamedInheritableThreadLocal.java | 2 +- .../main/java/org/springframework/core/NamedThreadLocal.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.core/src/main/java/org/springframework/core/NamedInheritableThreadLocal.java b/org.springframework.core/src/main/java/org/springframework/core/NamedInheritableThreadLocal.java index e66e94e528..bb7cfb8937 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/NamedInheritableThreadLocal.java +++ b/org.springframework.core/src/main/java/org/springframework/core/NamedInheritableThreadLocal.java @@ -26,7 +26,7 @@ import org.springframework.util.Assert; * @since 2.5.2 * @see NamedThreadLocal */ -public class NamedInheritableThreadLocal extends InheritableThreadLocal { +public class NamedInheritableThreadLocal extends InheritableThreadLocal { private final String name; diff --git a/org.springframework.core/src/main/java/org/springframework/core/NamedThreadLocal.java b/org.springframework.core/src/main/java/org/springframework/core/NamedThreadLocal.java index 08d1d2be35..4b2b823800 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/NamedThreadLocal.java +++ b/org.springframework.core/src/main/java/org/springframework/core/NamedThreadLocal.java @@ -26,7 +26,7 @@ import org.springframework.util.Assert; * @since 2.5.2 * @see NamedInheritableThreadLocal */ -public class NamedThreadLocal extends ThreadLocal { +public class NamedThreadLocal extends ThreadLocal { private final String name;