Polish Javadoc for abstract XLSX views

This commit is contained in:
Sam Brannen 2015-03-31 01:16:23 +02:00
parent 81a2cbb100
commit 72ec5792cf
2 changed files with 8 additions and 8 deletions

View File

@ -28,8 +28,8 @@ import org.apache.poi.xssf.streaming.SXSSFWorkbook;
* Convenient superclass for Excel document views in the Office 2007 XLSX format,
* using POI's streaming variant. Compatible with Apache POI 3.9 and higher.
*
* <p>For working with the workbook in the subclass, see
* <a href="http://poi.apache.org">Apache's POI site</a>
* <p>For working with the workbook in subclasses, see
* <a href="http://poi.apache.org">Apache's POI site</a>.
*
* @author Juergen Hoeller
* @since 4.2
@ -45,14 +45,14 @@ public abstract class AbstractXlsxStreamingView extends AbstractXlsxView {
}
/**
* This implementation disposes the {@link SXSSFWorkbook} when done with rendering.
* This implementation disposes of the {@link SXSSFWorkbook} when done with rendering.
* @see org.apache.poi.xssf.streaming.SXSSFWorkbook#dispose()
*/
@Override
protected void renderWorkbook(Workbook workbook, HttpServletResponse response) throws IOException {
super.renderWorkbook(workbook, response);
// Dispose temporary files in case of streaming variant...
// Dispose of temporary files in case of streaming variant...
((SXSSFWorkbook) workbook).dispose();
}

View File

@ -26,8 +26,8 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook;
* Convenient superclass for Excel document views in the Office 2007 XLSX format
* (as supported by POI-OOXML). Compatible with Apache POI 3.5 and higher.
*
* <p>For working with the workbook in the subclass, see
* <a href="http://poi.apache.org">Apache's POI site</a>
* <p>For working with the workbook in subclasses, see
* <a href="http://poi.apache.org">Apache's POI site</a>.
*
* @author Juergen Hoeller
* @since 4.2
@ -36,8 +36,8 @@ public abstract class AbstractXlsxView extends AbstractXlsView {
/**
* Default Constructor.
* Sets the content type of the view to
* "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet".
* <p>Sets the content type of the view to
* {@code "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}.
*/
public AbstractXlsxView() {
setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");