Update iteration variable name in PersistenceProviderUnitTests for readability.

Closes #3322
This commit is contained in:
devholic22
2024-01-19 16:31:44 +09:00
committed by Mark Paluch
parent fab2b38f4c
commit dafc242b86

View File

@@ -152,8 +152,8 @@ class PersistenceProviderUnitTests {
private static String[] toResourcePaths(Class<?>... interfacesToImplement) {
List<String> interfaceResourcePaths = new ArrayList<>(interfacesToImplement.length);
for (Class<?> iface : interfacesToImplement) {
interfaceResourcePaths.add(ClassUtils.convertClassNameToResourcePath(iface.getName()));
for (Class<?> targetInterface : interfacesToImplement) {
interfaceResourcePaths.add(ClassUtils.convertClassNameToResourcePath(targetInterface.getName()));
}
return interfaceResourcePaths.toArray(new String[0]);