File tree 1 file changed +3
-4
lines changed
spring-core/src/main/java/org/springframework/core/convert/converter
1 file changed +3
-4
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-2015 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
*
25
25
* @author Keith Donald
26
26
* @since 3.0
27
- * @see ConditionalConverter
28
27
* @param <S> The source type
29
28
* @param <T> The target type
30
29
*/
31
30
public interface Converter <S , T > {
32
31
33
32
/**
34
33
* Convert the source of type S to target type T.
35
- * @param source the source object to convert, which must be an instance of S
36
- * @return the converted object, which must be an instance of T
34
+ * @param source the source object to convert, which must be an instance of S (never {@code null})
35
+ * @return the converted object, which must be an instance of T (potentially {@code null})
37
36
* @throws IllegalArgumentException if the source could not be converted to the desired target type
38
37
*/
39
38
T convert (S source );
You can’t perform that action at this time.
0 commit comments