Skip to content

Commit ba97d1a

Browse files
committed
Types: make parameter names consistent
1 parent 97bc120 commit ba97d1a

File tree

1 file changed

+8
-8
lines changed
  • scijava-types/src/main/java/org/scijava/types

1 file changed

+8
-8
lines changed

scijava-types/src/main/java/org/scijava/types/Types.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -691,19 +691,19 @@ public static Type substituteTypeVars(Type type,
691691
* just replaced.
692692
*
693693
* @param typesToMap
694-
* @param typeAssigns
694+
* @param typeVarAssigns
695695
*/
696696
public static Type[] mapVarToTypes(Type[] typesToMap,
697-
Map<TypeVariable<?>, Type> typeAssigns)
697+
Map<TypeVariable<?>, Type> typeVarAssigns)
698698
{
699699
return Arrays.stream(typesToMap).map(type -> mapVarToTypes(type,
700-
typeAssigns)).toArray(Type[]::new);
700+
typeVarAssigns)).toArray(Type[]::new);
701701
}
702702

703703
public static Type mapVarToTypes(Type typeToMap,
704-
Map<TypeVariable<?>, Type> typeAssigns)
704+
Map<TypeVariable<?>, Type> typeVarAssigns)
705705
{
706-
return unroll(typeAssigns, typeToMap, false);
706+
return unroll(typeVarAssigns, typeToMap, false);
707707
}
708708

709709
/**
@@ -884,13 +884,13 @@ public static Map<TypeVariable<?>, Type> args(final Class<?> c,
884884
* Create a parameterized type instance.
885885
*
886886
* @param raw the raw class to create a parameterized type instance for
887-
* @param typeArgMappings the mapping used for parameterization
887+
* @param typeVarAssigns the mapping used for parameterization
888888
* @return {@link ParameterizedType}
889889
*/
890890
public static ParameterizedType parameterize(final Class<?> raw,
891-
final Map<TypeVariable<?>, Type> typeArgMappings)
891+
final Map<TypeVariable<?>, Type> typeVarAssigns)
892892
{
893-
return TypeUtils.parameterize(raw, typeArgMappings);
893+
return TypeUtils.parameterize(raw, typeVarAssigns);
894894
}
895895

896896
/**

0 commit comments

Comments
 (0)