Browse Source

Polishing

pull/803/head
Juergen Hoeller 11 years ago
parent
commit
9e925aa86c
  1. 2
      spring-core/src/test/java/org/springframework/core/GenericTypeResolverTests.java
  2. 2
      spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataProviderFactory.java
  3. 2
      spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/TableMetaDataProviderFactory.java

2
spring-core/src/test/java/org/springframework/core/GenericTypeResolverTests.java

@ -90,7 +90,7 @@ public class GenericTypeResolverTests { @@ -90,7 +90,7 @@ public class GenericTypeResolverTests {
resolveType(intArrMessageMethodParam.getGenericParameterType(), new HashMap<TypeVariable, Type>()));
Method genericArrMessageMethod = findMethod(MySimpleTypeWithMethods.class, "readGenericArrayInputMessage",
Object[].class);
Object[].class);
MethodParameter genericArrMessageMethodParam = new MethodParameter(genericArrMessageMethod, 0);
Map<TypeVariable, Type> varMap = getTypeVariableMap(MySimpleTypeWithMethods.class);
assertEquals(Integer[].class, resolveType(genericArrMessageMethodParam.getGenericParameterType(), varMap));

2
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataProviderFactory.java

@ -32,7 +32,7 @@ import org.springframework.jdbc.support.MetaDataAccessException; @@ -32,7 +32,7 @@ import org.springframework.jdbc.support.MetaDataAccessException;
/**
* Factory used to create a {@link CallMetaDataProvider} implementation
* based on the type of databse being used.
* based on the type of database being used.
*
* @author Thomas Risberg
* @since 2.5

2
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/TableMetaDataProviderFactory.java

@ -31,7 +31,7 @@ import org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor; @@ -31,7 +31,7 @@ import org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor;
/**
* Factory used to create a {@link TableMetaDataProvider} implementation
* based on the type of databse being used.
* based on the type of database being used.
*
* @author Thomas Risberg
* @since 2.5

Loading…
Cancel
Save