Skip to content

Commit 00d57af

Browse files
brunoagrettimlopezFC
authored andcommitted
build: change maven compiler source and target to 11
1 parent d6300ce commit 00d57af

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<properties>
1212
<vaadin.version>23.3.15</vaadin.version>
1313
<selenium.version>4.1.2</selenium.version>
14-
<maven.compiler.source>17</maven.compiler.source>
15-
<maven.compiler.target>17</maven.compiler.target>
14+
<maven.compiler.source>11</maven.compiler.source>
15+
<maven.compiler.target>11</maven.compiler.target>
1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1717
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1818
<drivers.dir>${project.basedir}/drivers</drivers.dir>

src/test/java/com/flowingcode/vaadin/addons/gridexporter/GridExporterBigDatasetDemo.java

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)