diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxStreamingView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxStreamingView.java index 5f31788ba8..2db6b6467b 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxStreamingView.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxStreamingView.java @@ -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. * - *

For working with the workbook in the subclass, see - * Apache's POI site + *

For working with the workbook in subclasses, see + * Apache's POI site. * * @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(); } diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxView.java index 2c4b3e5d88..4c26ffa7a8 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxView.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsxView.java @@ -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. * - *

For working with the workbook in the subclass, see - * Apache's POI site + *

For working with the workbook in subclasses, see + * Apache's POI site. * * @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". + *

Sets the content type of the view to + * {@code "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}. */ public AbstractXlsxView() { setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");