mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 00:09:02 +00:00
Made ThreadLocals generic.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@280 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
|
||||
* @since 2.5.2
|
||||
* @see NamedThreadLocal
|
||||
*/
|
||||
public class NamedInheritableThreadLocal extends InheritableThreadLocal {
|
||||
public class NamedInheritableThreadLocal<T> extends InheritableThreadLocal<T> {
|
||||
|
||||
private final String name;
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
|
||||
* @since 2.5.2
|
||||
* @see NamedInheritableThreadLocal
|
||||
*/
|
||||
public class NamedThreadLocal extends ThreadLocal {
|
||||
public class NamedThreadLocal<T> extends ThreadLocal<T> {
|
||||
|
||||
private final String name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user