From 7eaca60a1a364ce6e232363d27823e971a992705 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Fri, 21 May 2021 21:22:40 +0000 Subject: activate javadoc lint and fix errors add signing and checksum generation add slf4j-bridge for tests add dependencies to ooxml-lite fix complex enum classes add override annotations move gradle logic to root build generate javadoc in its own dist directory, because JPMS complains about duplicate modules otherwise git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890089 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/poi/examples/hpsf/CopyCompare.java | 12 ++++++------ .../eventusermodel/LoadPasswordProtectedXlsxStreaming.java | 6 +++--- .../examples/xssf/streaming/SavePasswordProtectedXlsx.java | 6 +++--- .../examples/xssf/usermodel/LoadPasswordProtectedXlsx.java | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) (limited to 'poi-examples/src/main/java/org') diff --git a/poi-examples/src/main/java/org/apache/poi/examples/hpsf/CopyCompare.java b/poi-examples/src/main/java/org/apache/poi/examples/hpsf/CopyCompare.java index c24afe1376..d933b23e22 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/hpsf/CopyCompare.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/hpsf/CopyCompare.java @@ -42,23 +42,23 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.apache.poi.util.TempFile; /** - *

This class copies a POI file system to a new file and compares the copy - * with the original.

+ * This class copies a POI file system to a new file and compares the copy + * with the original. *

- *

Property set streams are copied logically, i.e. the application + * Property set streams are copied logically, i.e. the application * establishes a {@link org.apache.poi.hpsf.PropertySet} of an original property * set, creates a {@link org.apache.poi.hpsf.PropertySet} and writes the * {@link org.apache.poi.hpsf.PropertySet} to the destination POI file * system. - Streams which are no property set streams are copied bit by - * bit.

+ * bit. *

- *

The comparison of the POI file systems is done logically. That means that + * The comparison of the POI file systems is done logically. That means that * the two disk files containing the POI file systems do not need to be * exactly identical. However, both POI file systems must contain the same * files, and most of these files must be bitwise identical. Property set * streams, however, are compared logically: they must have the same sections * with the same attributes, and the sections must contain the same properties. - * Details like the ordering of the properties do not matter.

+ * Details like the ordering of the properties do not matter. */ @SuppressWarnings({"java:S106","java:S4823"}) public final class CopyCompare { diff --git a/poi-examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/LoadPasswordProtectedXlsxStreaming.java b/poi-examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/LoadPasswordProtectedXlsxStreaming.java index 96ba25e396..25c900965a 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/LoadPasswordProtectedXlsxStreaming.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/LoadPasswordProtectedXlsxStreaming.java @@ -30,10 +30,10 @@ import org.apache.poi.xssf.eventusermodel.XSSFReader.SheetIterator; /** * An example that loads a password protected workbook and counts the sheets. * The example highlights how to do this in streaming way. - *

*/ @SuppressWarnings({"java:S106","java:S4823","java:S1192"}) public final class LoadPasswordProtectedXlsxStreaming { diff --git a/poi-examples/src/main/java/org/apache/poi/examples/xssf/streaming/SavePasswordProtectedXlsx.java b/poi-examples/src/main/java/org/apache/poi/examples/xssf/streaming/SavePasswordProtectedXlsx.java index f991047db7..df5b7004cf 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/xssf/streaming/SavePasswordProtectedXlsx.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/xssf/streaming/SavePasswordProtectedXlsx.java @@ -41,10 +41,10 @@ import org.apache.poi.xssf.streaming.SXSSFSheet; /** * An example that outputs a simple generated workbook that is password protected. * The example highlights how to do this in streaming way. - *

*/ @SuppressWarnings({"java:S106","java:S4823","java:S1192"}) public final class SavePasswordProtectedXlsx { diff --git a/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java b/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java index 1ca5c34307..e3b93f8595 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java @@ -32,10 +32,10 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook; /** * An example that loads a password protected workbook and counts the sheets. - *

*/ @SuppressWarnings({"java:S106","java:S4823","java:S1192"}) public final class LoadPasswordProtectedXlsx { -- cgit v1.2.3