@@ -121,7 +121,7 @@ protected URLConnection openConnection(URL url) {
121121
122122 private Resource root = null ;
123123
124- private Map <Class <?>, Map <String , BeanAdapter .Property >> structures = new TreeMap <>(Comparator .comparing (Class ::getSimpleName ));
124+ private Map <Class <?>, Map <String , BeanAdapter .Property >> dataTypes = new TreeMap <>(Comparator .comparing (Class ::getSimpleName ));
125125
126126 private ThreadLocal <HttpServletRequest > request = new ThreadLocal <>();
127127 private ThreadLocal <HttpServletResponse > response = new ThreadLocal <>();
@@ -667,7 +667,7 @@ private void describeService(HttpServletRequest request, HttpServletResponse res
667667
668668 describeResource (request .getServletPath (), root , xmlStreamWriter );
669669
670- for (Map .Entry <Class <?>, Map <String , BeanAdapter .Property >> typeEntry : structures .entrySet ()) {
670+ for (Map .Entry <Class <?>, Map <String , BeanAdapter .Property >> typeEntry : dataTypes .entrySet ()) {
671671 Class <?> type = typeEntry .getKey ();
672672
673673 String name = type .getSimpleName ();
@@ -972,10 +972,10 @@ public Type getOwnerType() {
972972 }
973973 }, xmlStreamWriter );
974974 } else {
975- if (!structures .containsKey (type )) {
975+ if (!dataTypes .containsKey (type )) {
976976 Map <String , BeanAdapter .Property > properties = BeanAdapter .getProperties (type );
977977
978- structures .put (type , properties );
978+ dataTypes .put (type , properties );
979979
980980 if (type .isInterface ()) {
981981 Class <?>[] interfaces = type .getInterfaces ();
0 commit comments