From a17133890962dae2d8d0f08a59837865b7982dd9 Mon Sep 17 00:00:00 2001 From: Michael Holthausen Date: Wed, 5 Jun 2024 12:50:05 +0200 Subject: [PATCH] Fix spelling and grammar issues in docs and source code comments These changes improve the readability of the documentation and source code comments. --- .../print/processor/jasper/DataSourceProcessor.java | 2 +- docs/src/main/resources/templates/api.html | 2 +- docs/src/main/resources/templates/download.html | 8 ++++---- docs/src/main/resources/templates/index.html | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/src/main/java/org/mapfish/print/processor/jasper/DataSourceProcessor.java b/core/src/main/java/org/mapfish/print/processor/jasper/DataSourceProcessor.java index 392734dbb5..60042ca1bb 100644 --- a/core/src/main/java/org/mapfish/print/processor/jasper/DataSourceProcessor.java +++ b/core/src/main/java/org/mapfish/print/processor/jasper/DataSourceProcessor.java @@ -44,7 +44,7 @@ *

The {@link org.mapfish.print.attribute.DataSourceAttribute.DataSourceAttributeValue} has an * array of maps, each map in the array equates to a row in the Jasper DataSource. * - *

The DataSourceProcessor can be configured with processors which will be used to transform each + *

The DataSourceProcessor can be configured with processors that will be used to transform each * map in the input array before constructing the final DataSource row. * *

For example, each map in the array could be {@link diff --git a/docs/src/main/resources/templates/api.html b/docs/src/main/resources/templates/api.html index 4289d01a39..10c0568601 100644 --- a/docs/src/main/resources/templates/api.html +++ b/docs/src/main/resources/templates/api.html @@ -106,7 +106,7 @@

Request

- If the report must sent by email and the feature is enabled in the app, a smtp property + If the report must be sent by email and the feature is enabled in the app, an smtp property looking like that (subject and body are optional) must be added to the request:

diff --git a/docs/src/main/resources/templates/download.html b/docs/src/main/resources/templates/download.html index cde8cea262..9e3f19818a 100644 --- a/docs/src/main/resources/templates/download.html +++ b/docs/src/main/resources/templates/download.html @@ -15,15 +15,15 @@

- Command Line Distribution + Command-Line Distribution

- The Zip file and the Tar file are Mapfish Print distributed as an application that can be ran from the - commandline to execute print jobs. It is useful for debugging print configurations and requests. + The Zip file and the Tar file are Mapfish Print distributed as an application that can be run from the + command-line to execute print jobs. It is useful for debugging print configurations and requests.

Assuming you have Java 7+ installed, the bin/print script will execute a print task. The - command line usage can be printed by executing: bin/print -?. + command-line usage can be printed by executing: bin/print -?.

An example of using the application is: diff --git a/docs/src/main/resources/templates/index.html b/docs/src/main/resources/templates/index.html index f0ffe8fe5f..412bee40d9 100644 --- a/docs/src/main/resources/templates/index.html +++ b/docs/src/main/resources/templates/index.html @@ -3,9 +3,9 @@ them.

- The project is a Java based servlet/library/application based on the mature + The project is a Java-based servlet/library/application based on the mature Jasper Reports LibraryJasperReports Library.

@@ -33,7 +33,7 @@
  • - The last distribution is an command-line application where the reports can be generated via command line. + The last distribution is a command-line application where the reports can be generated via command-line. This is useful for debugging configurations and requests.