You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2019/08/28 13:47:30 UTC
[cxf] branch master updated: Fixing checksyle issue
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new 5e6f22d Fixing checksyle issue
5e6f22d is described below
commit 5e6f22d91acbc8ca2d89ee79033af02c98003e6a
Author: reta <dr...@gmail.com>
AuthorDate: Wed Aug 28 09:47:09 2019 -0400
Fixing checksyle issue
---
.../main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
index ab23ff1..90e1aca 100644
--- a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
+++ b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/model/wadl/WadlGenerator.java
@@ -502,7 +502,7 @@ public class WadlGenerator implements ContainerRequestFilter {
if (!this.useJaxbContextForQnames) {
return;
}
- List<Class<?>> extraClasses = new LinkedList<>(this.extraClasses);
+ List<Class<?>> extra = new LinkedList<>(extraClasses);
for (Class<?> cls : resourceTypes.getAllTypes().keySet()) {
if (!isXmlRoot(cls) || Modifier.isAbstract(cls.getModifiers())) {
XmlSeeAlso seeAlsoAnn = cls.getAnnotation(XmlSeeAlso.class);
@@ -513,11 +513,11 @@ public class WadlGenerator implements ContainerRequestFilter {
resourceTypes.getSubstitutions().put(seeAlsoCls, cls);
}
}
- extraClasses.addAll(seeAlsoList);
+ extra.addAll(seeAlsoList);
}
}
}
- for (Class<?> cls : extraClasses) {
+ for (Class<?> cls : extra) {
resourceTypes.getAllTypes().put(cls, cls);
}
}