File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
spring-beans/src/main/java/org/springframework/beans Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
23
23
* algorithm (including delegation to {@link java.beans.PropertyEditor} and
24
24
* {@link org.springframework.core.convert.ConversionService}) underneath.
25
25
*
26
+ * <p><b>Note:</b> Due to its reliance on {@link java.beans.PropertyEditor PropertyEditors},
27
+ * SimpleTypeConverter is <em>not</em> thread-safe. Use a separate instance for each thread.
28
+ *
26
29
* @author Juergen Hoeller
27
30
* @since 2.0
28
31
* @see BeanWrapperImpl
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
24
24
* Interface that defines type conversion methods. Typically (but not necessarily)
25
25
* implemented in conjunction with the {@link PropertyEditorRegistry} interface.
26
26
*
27
+ * <p><b>Note:</b> Since TypeConverter implementations are typically based on
28
+ * {@link java.beans.PropertyEditor PropertyEditors} which aren't thread-safe,
29
+ * TypeConverters themselves are <em>not</em> to be considered as thread-safe either.
30
+ *
27
31
* @author Juergen Hoeller
28
32
* @since 2.0
29
33
* @see SimpleTypeConverter
You can’t perform that action at this time.
0 commit comments