< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/PropertyBuilder.java

Print this page

        

*** 126,146 **** } if (hasMembersToDocument()) { Content propertyDetailsTreeHeader = writer.getPropertyDetailsTreeHeader(typeElement, memberDetailsTree); Content propertyDetailsTree = writer.getMemberTreeHeader(); ! for (Element property : properties) { currentProperty = (ExecutableElement)property; Content propertyDocTree = writer.getPropertyDocTreeHeader(currentProperty, propertyDetailsTree); buildSignature(propertyDocTree); buildPropertyComments(propertyDocTree); buildTagInfo(propertyDocTree); ! propertyDetailsTree.add(writer.getPropertyDoc(propertyDocTree)); } memberDetailsTree.add( writer.getPropertyDetails(propertyDetailsTreeHeader, propertyDetailsTree)); } } --- 126,147 ---- } if (hasMembersToDocument()) { Content propertyDetailsTreeHeader = writer.getPropertyDetailsTreeHeader(typeElement, memberDetailsTree); Content propertyDetailsTree = writer.getMemberTreeHeader(); ! Element lastElement = properties.get(properties.size() - 1); for (Element property : properties) { currentProperty = (ExecutableElement)property; Content propertyDocTree = writer.getPropertyDocTreeHeader(currentProperty, propertyDetailsTree); buildSignature(propertyDocTree); buildPropertyComments(propertyDocTree); buildTagInfo(propertyDocTree); ! propertyDetailsTree.add(writer.getPropertyDoc( ! propertyDocTree, currentProperty == lastElement)); } memberDetailsTree.add( writer.getPropertyDetails(propertyDetailsTreeHeader, propertyDetailsTree)); } }
< prev index next >