Dominik Stadler
9005eb2f01
Ensure streams are closed always, reformat code somewhat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776647 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
e06f0c0c26
Bug 60369: Adjust pattern to better handle non-ASCII characters in Month-names which can appear since Java 8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776646 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
9dfbbdb480
Fix some compilation warnings
Update Javadoc
Reformat code somewhat
Supress IntelliJ warnings in findbugs-filters.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776645 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
bce3c31ea2
Set --add-modules as environment-variable as well as we need to enable it in Ant itself for the forbidden-api-checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776634 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
8f346f598b
Fix an api-violations introduced in a test-case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776633 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
c331523fc5
Update JaCoCo to 0.7.8 to allow to run it when using JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776623 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
e0b971bb3c
Add test provided via bug 60536 for bug 60526, remove some warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776622 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
6c5040f565
Add full support for using file-leak-detector, will be added to CI to report missing close() calls in test-runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776617 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
02f2481d21
Allow to set the new --add-opens argument for JDK 9, scratchpad tests require slightly more memory on JDK 9 now, also adjust the Jenkins DSL accordingly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776608 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
2d7f4100bd
Bug 60512: Add missing XSSFRelation.CUSTOM_PROPERTY
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776606 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
397a6d6761
Bug 60452: WorkdayCalculator calculateWorkdays does return wrong value for same day input
deprecate unused method isNonWorkday
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776588 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
8d81b4fd06
bug 60526: Make loggers final and make throttled log actually work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776555 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
d9596e3f80
Disable Sonar in Gradle build for now, it requires Java 8, but we should still be able to compile with Java 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776317 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
df66760bfc
Add sonar-plugin to Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776072 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
9511afda99
Maven: Add jacoco plugin and adjust to apply argLine correctly when calling "mvn jacoco:prepare-agent package jacoco:report jacoco:report-aggregate", however report-aggregate does not seem to work yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776068 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
219b0ab691
Add some throttling to the log for failed SAXHelper features to not spam the log on JDK 9 with restricted reflection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776067 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
fce89b2c5c
Use one redirection less when downloading findbugs jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776066 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
ce9a881d63
Add mising @Override and other warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776065 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
f971a8488f
report size of entries for POIFSViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775992 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
9c1836d57b
Fix 0-pointer on unset document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775565 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
765f613b71
Sonar issues: Mark two places where we catch Error/Throwable as "On purpose"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775122 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
c74d5cf727
Comments, Javadoc and make close() only log instead of throw an exception to not have catch inside catch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775118 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
c5c8b32d19
fix eclipse warnings - close resources
add getter for HSLF slideshows implementation class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774974 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
b8bfe77718
SonarQube fixes - close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774969 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
8969981819
sonarqube fixes - close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774845 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
8119f17ed0
Fix Bugzilla link
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774843 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
cb58d3e8be
#60331 - Remove deprecated classes (POI 3.16)
- remove orphaned classes immediately, which are quite likely not used anymore
- deprecated the rest
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774842 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
220a6113be
switch sonarqube to 1.8 and activate it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774825 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
eb2b72498e
add sonarqube job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774820 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
0bdc64a075
use sonarqube dashboard instead of overview
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774766 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
5684ee90a4
various sonarqube fixes - mainly resource closing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774705 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
ea0a511f00
New SonarQube instance
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774703 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Tim Allison
56425de1c1
bug 60489 -- add a file that triggered a ClassNotFoundException on TIKA-2208/elasticsearch-22077
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774638 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
bed1141308
Adjust list of hosts that do not have OpenJDK installed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774584 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Mark Murphy
f435ae5129
SonarCube fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774557 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Mark Murphy
7e1c3ec4b3
Findbugs fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774556 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Mark Murphy
e5384f8dd6
60465: Cannot specify interline spacing for a Paragraph in XWPF
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=60465
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774551 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
bd3297c617
eclipse warnings - close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773910 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
a79a7711b5
eclipse warnings - raw list access
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773909 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
41d8585723
SonarCube fix - make members private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773908 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
2aa6ff9f20
SonarCube fix - make members private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773907 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
a1cd903794
eclipse warnings - raw list access
close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773906 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
baffa07ce7
eclipse warnings - raw list access
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773905 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Andreas Beeker
68810a63ba
remove unused class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773904 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
1ebe4d3c99
Adjust toString() of ExternalNameRecord
Fix some IntelliJ warnings
Reformat TextPieceTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773776 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Mark Murphy
c6d28db7e8
58237: Unable to add image to a word document header using XWPF
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=58237
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773729 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
5d77996c06
Revert "Add pmd file"
This reverts commit 145eed15c0
.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773718 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
ecd6fffde1
Revert "add .gitignore"
This reverts commit 68ea28f356
.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773717 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
3fa0e86773
Revert "Add launchconfig for coverage"
This reverts commit 6421eb62fa
.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773716 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Dominik Stadler
cb52ea1383
Revert "Add script to run BiffViewer"
This reverts commit a7f97798f1
.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773715 13f79535-47bb-0310-9956-ffa450edef68
7 years ago