diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-05-21 21:22:40 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-05-21 21:22:40 +0000 |
commit | 7eaca60a1a364ce6e232363d27823e971a992705 (patch) | |
tree | 718fc0e7ccd8c4ed50c2dcd579c4df10cc8b9581 /poi-examples/src/main/java/org | |
parent | cecab7f573f0cdf9ea74bedcf9b43dc535976e43 (diff) | |
download | poi-7eaca60a1a364ce6e232363d27823e971a992705.tar.gz poi-7eaca60a1a364ce6e232363d27823e971a992705.zip |
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
Diffstat (limited to 'poi-examples/src/main/java/org')
4 files changed, 15 insertions, 15 deletions
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; /** - * <p>This class copies a POI file system to a new file and compares the copy - * with the original.</p> + * This class copies a POI file system to a new file and compares the copy + * with the original. * <p> - * <p>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.</p> + * bit. * <p> - * <p>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.</p> + * 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. - * <p><ul> + * <ul> * <li>The example demonstrates that all temp files are removed. - * <li><code>AesZipFileZipEntrySource</code> is used to ensure that temp files are encrypted. - * </ul><p> + * <li>{@code AesZipFileZipEntrySource} is used to ensure that temp files are encrypted. + * </ul> */ @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. - * <p><ul> + * <ul> * <li>The example demonstrates that all temp files are removed. - * <li><code>SXSSFWorkbookWithCustomZipEntrySource</code> extends SXSSFWorkbook to ensure temp files are encrypted. - * </ul><p> + * <li>{@code SXSSFWorkbookWithCustomZipEntrySource} extends SXSSFWorkbook to ensure temp files are encrypted. + * </ul> */ @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. - * <p><ul> + * <ul> * <li>The example demonstrates that all temp files are removed. - * <li><code>AesZipFileZipEntrySource</code> is used to ensure that temp files are encrypted. - * </ul></p> + * <li>{@code AesZipFileZipEntrySource} is used to ensure that temp files are encrypted. + * </ul> */ @SuppressWarnings({"java:S106","java:S4823","java:S1192"}) public final class LoadPasswordProtectedXlsx { |