Commit Graph

65 Commits

Author SHA1 Message Date
Andreas Beeker b59dbbd076 Use gradle toolchain to specify the jdk version and vendor, e.g.
> gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898288 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 22:57:03 +00:00
PJ Fanning 4496e7761f change formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898232 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 20:54:42 +00:00
PJ Fanning 7ad1238393 [bug-65849] use Files.createTempFile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897524 13f79535-47bb-0310-9956-ffa450edef68
2022-01-27 00:32:01 +00:00
PJ Fanning fc49da56ae [bug-65849] use Files.createTempFile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897515 13f79535-47bb-0310-9956-ffa450edef68
2022-01-26 19:35:06 +00:00
Dominik Stadler 57e84a8a1a Fix invalid comparison and optimize construction of CellStyle objects for comparison
Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".

Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897323 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:58 +00:00
Andreas Beeker ff6984df00 remove and prevent links to stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896899 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 22:06:26 +00:00
PJ Fanning 075bc7021a fix switch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896551 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 22:32:48 +00:00
PJ Fanning 4823d0cbd4 refactor CopyCompare again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896543 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:09:08 +00:00
PJ Fanning 9a5dec078b rewrite CopyCompare to remove its ThreadLocal which causes a sonar code smell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896536 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:02:03 +00:00
PJ Fanning 6784dd81c2 update some code based on sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896504 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 13:08:56 +00:00
PJ Fanning d442ea645c [bug-65772] stop using deleteOnExit in DefaultTempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896474 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 12:36:51 +00:00
PJ Fanning 70dc07dd3b close cursors in finally blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896472 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 10:51:24 +00:00
PJ Fanning fe4a3b7596 small refactor of XSSFReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896259 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 03:51:51 +00:00
PJ Fanning 6aea287542 some spotbugs issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896204 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 23:39:40 +00:00
PJ Fanning 5ed99abe8f remove log4j-core
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896198 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 19:38:23 +00:00
PJ Fanning e61dc89bff possible npes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896163 13f79535-47bb-0310-9956-ffa450edef68
2021-12-19 16:35:31 +00:00
PJ Fanning f4bb4560ed code tidy up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896139 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 17:41:36 +00:00
PJ Fanning 74997afe6a update test assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895423 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 10:11:41 +00:00
Dominik Stadler 5eb7b44d64 Add some missing JavaDoc for WorkbookFactory and ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895414 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:51 +00:00
PJ Fanning 9ed220fd75 [bug-65703] new DataFormatter method: setUse4DigitYearsInAllDateFormats - defaults to false
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895327 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 12:49:21 +00:00
PJ Fanning 5022f30c4b tidy up gradle scripts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895321 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:31:50 +00:00
PJ Fanning a3f0121147 saxon test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895319 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:05:00 +00:00
PJ Fanning 057a85ac1e set emulateCSV mode in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895315 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 06:46:04 +00:00
PJ Fanning c9ca793c44 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895078 13f79535-47bb-0310-9956-ffa450edef68
2021-11-16 00:41:07 +00:00
Andreas Beeker 474576677b fix copy & paste package namespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895033 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 12:59:33 +00:00
PJ Fanning 8365ee1611 [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895016 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 10:18:40 +00:00
PJ Fanning 02f36cf4fd [bug-65675] add regression test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894884 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 19:45:03 +00:00
PJ Fanning 171b6883f5 compile issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894688 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 15:03:42 +00:00
PJ Fanning f3d36d5271 use package revert due to new warning log about using revert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894687 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 14:50:47 +00:00
PJ Fanning 90b8a0c36d try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894565 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:50:03 +00:00
PJ Fanning e66486bc8a try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:29:10 +00:00
PJ Fanning 5d79f841bb remove finalizer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894490 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 18:09:26 +00:00
PJ Fanning 9fe3944e8e get proper xmlbeans 5.0.2 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894428 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 23:54:34 +00:00
Andreas Beeker 3c3154ea8c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894365 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:35:17 +00:00
Andreas Beeker 611f5273fd sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:40:47 +00:00
Andreas Beeker 87a764956c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894331 13f79535-47bb-0310-9956-ffa450edef68
2021-10-17 20:44:36 +00:00
PJ Fanning 4b97b12712 xmlbeans 5.0.2 (temporarily from a pre-release location)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894211 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 21:27:32 +00:00
PJ Fanning a41aece5d3 [bug-65613] experimental SXSSF writeAvoidingTempFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893900 13f79535-47bb-0310-9956-ffa450edef68
2021-10-04 21:56:18 +00:00
PJ Fanning c167c13df9 [bug-65613] experimental SXSSF writeAvoidingTempFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893899 13f79535-47bb-0310-9956-ffa450edef68
2021-10-04 21:55:39 +00:00
PJ Fanning bf37257193 pointless instanceof
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893848 13f79535-47bb-0310-9956-ffa450edef68
2021-10-03 09:44:30 +00:00
Marius Volkhart 45f94fe29d Fix expected/actual order in assertEquals
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893781 13f79535-47bb-0310-9956-ffa450edef68
2021-10-01 12:31:09 +00:00
PJ Fanning 8334fb6cbd use https
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893673 13f79535-47bb-0310-9956-ffa450edef68
2021-09-27 11:34:18 +00:00
PJ Fanning 4fbadb0cfd tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893576 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:03:06 +00:00
PJ Fanning b0f74ee213 javadoc change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893510 13f79535-47bb-0310-9956-ffa450edef68
2021-09-22 08:47:37 +00:00
Andreas Beeker 596db31170 XmlSec/BouncyCastle and Batik are now optional
disable SonarQube build based on ant
remove sonar and maven directory, because POMs are now created via Gradle
remove maven section from seed-build

fix duplicated maven dependencies on POM export

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893289 13f79535-47bb-0310-9956-ffa450edef68
2021-09-12 20:31:43 +00:00
PJ Fanning 387ae17bc5 still hacking the build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892941 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 15:02:44 +00:00
PJ Fanning bd9a10a153 still hacking the build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892937 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 14:00:21 +00:00
PJ Fanning 23fe7998e1 still hacking the build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892936 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 13:56:30 +00:00
PJ Fanning 76b270ca64 try not to have poi-integration in pom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892931 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 11:39:41 +00:00
Andreas Beeker 1eace7a0c4 update module-info.classes for next release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892829 13f79535-47bb-0310-9956-ffa450edef68
2021-09-02 20:47:20 +00:00