Renamed variable
(1827)
/*
*
- * Copyright 2017 the original author or authors.
+ * Copyright 2017-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,8 +25,8 @@ import springfox.documentation.spi.service.contexts.DocumentationContext;
import java.util.Set;
-import static com.google.common.base.Objects.equal;
-import static com.google.common.collect.Sets.newHashSet;
+import static com.google.common.base.Objects.*;
+import static com.google.common.collect.Sets.*;
public class ExpansionContext {
private final String parentName;
@@ -71,10 +71,10 @@ public class ExpansionContext {
public ExpansionContext childContext(
String parentName,
- ResolvedType paramType,
+ ResolvedType childType,
DocumentationContext documentationContext) {
Set<ResolvedType> childSeenTypes = newHashSet(seenTypes);
- childSeenTypes.add(paramType);
- return new ExpansionContext(parentName, paramType, documentationContext, childSeenTypes);
+ childSeenTypes.add(childType);
+ return new ExpansionContext(parentName, childType, documentationContext, childSeenTypes);
}
}
