@@ -87,24 +87,20 @@ public GridExporterBigDatasetDemo() throws EncryptedDocumentException, IOExcepti
8787 // #if vaadin eq 0
8888 GridHelper .setHeightByRows (grid , 6 );
8989 GridHelper .setHeightMode (grid , HeightMode .ROW );
90- Html block1 = new Html (
91- """
92- <div>
93- This configuration prepares the exporter for the BigDataset demo, enabling it to manage resource-intensive
94- document generation tasks effectively. In this setup, an upper limit of 10 is established for the cost of
95- concurrent downloads, and the big dataset exporter is configured with a cost of 9, while other exporters
96- handling smaller datasets retain the default cost of 1. This customization allows a combination of one large
97- dataset download alongside one small dataset download, or up to 10 concurrent downloads of smaller datasets
98- when no big dataset is being exported.
99- </div>""" );
100- Html block2 = new Html (
101- """
102- <div>
103- Additionally, <code>setConcurrentDownloadTimeout</code> enforces a timeout for acquiring the necessary permits
104- during a download operation. If the permits are not obtained within the specified timeframe, the download
105- request will be aborted and the <code>DownloadTimeoutEvent</code> listener will execute, preventing prolonged
106- waiting periods, especially during peak system loads.
107- </div>""" );
90+ Html block1 = new Html ("<div>"
91+ + "This configuration prepares the exporter for the BigDataset demo, enabling it to manage resource-intensive "
92+ + "document generation tasks effectively. In this setup, an upper limit of 10 is established for the cost of "
93+ + "concurrent downloads, and the big dataset exporter is configured with a cost of 9, while other exporters "
94+ + "handling smaller datasets retain the default cost of 1. This customization allows a combination of one large "
95+ + "dataset download alongside one small dataset download, or up to 10 concurrent downloads of smaller datasets "
96+ + "when no big dataset is being exported." + "</div>" );
97+
98+ Html block2 = new Html ("<div>"
99+ + "Additionally, <code>setConcurrentDownloadTimeout</code> enforces a timeout for acquiring the necessary permits "
100+ + "during a download operation. If the permits are not obtained within the specified timeframe, the download "
101+ + "request will be aborted and the <code>DownloadTimeoutEvent</code> listener will execute, preventing prolonged "
102+ + "waiting periods, especially during peak system loads." + "</div>" );
103+
108104
109105 add (block1 , grid , block2 );
110106 SourceCodeViewer .highlightOnHover (block1 , "concurrent" );
0 commit comments