Skip to content

Commit b5c2003

Browse files
committed
Fix variable name
1 parent 5f5da06 commit b5c2003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-test/src/main/java/org/springframework/test/context/cache/DefaultContextCache.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ private void putInternal(MergedContextConfiguration key, ApplicationContext cont
239239
MergedContextConfiguration child = key;
240240
MergedContextConfiguration parent = child.getParent();
241241
while (parent != null) {
242-
Set<MergedContextConfiguration> list = this.hierarchyMap.computeIfAbsent(parent, k -> new HashSet<>());
243-
list.add(child);
242+
Set<MergedContextConfiguration> set = this.hierarchyMap.computeIfAbsent(parent, k -> new HashSet<>());
243+
set.add(child);
244244
child = parent;
245245
parent = child.getParent();
246246
}

0 commit comments

Comments
 (0)