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
2016-12-30 18:54:47 +00:00
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
2016-12-30 18:37:24 +00:00
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
2016-12-30 17:00:13 +00:00
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
2016-12-30 16:55:19 +00:00
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
2016-12-30 15:05:14 +00:00
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
2016-12-30 13:09:28 +00:00
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
2016-12-28 19:47:40 +00:00
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
2016-12-26 20:47:29 +00:00
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
2016-12-26 19:51:47 +00:00
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
2016-12-26 19:51:42 +00:00
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
2016-12-26 19:51:37 +00:00
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
2016-12-26 19:51:32 +00:00
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
2016-12-25 00:06:13 +00:00
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
2016-12-21 22:03:54 +00:00
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
2016-12-19 15:25:20 +00:00
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
2016-12-19 15:03:58 +00:00
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
2016-12-19 01:34:24 +00:00
Andreas Beeker
b8bfe77718
SonarQube fixes - close resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774969 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 22:03:31 +00:00
Andreas Beeker
8969981819
sonarqube fixes - close resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774845 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 03:47:08 +00:00
Andreas Beeker
8119f17ed0
Fix Bugzilla link
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774843 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 03:33:57 +00:00
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
2016-12-18 03:26:13 +00:00
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
2016-12-18 00:01:45 +00:00
Andreas Beeker
eb2b72498e
add sonarqube job
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774820 13f79535-47bb-0310-9956-ffa450edef68
2016-12-17 23:52:48 +00:00
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
2016-12-17 14:41:59 +00:00
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
2016-12-17 02:35:30 +00:00
Andreas Beeker
ea0a511f00
New SonarQube instance
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774703 13f79535-47bb-0310-9956-ffa450edef68
2016-12-17 01:25:40 +00:00
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
2016-12-16 16:46:00 +00:00
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
2016-12-16 12:40:17 +00:00
Mark Murphy
f435ae5129
SonarCube fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774557 13f79535-47bb-0310-9956-ffa450edef68
2016-12-16 06:00:35 +00:00
Mark Murphy
7e1c3ec4b3
Findbugs fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774556 13f79535-47bb-0310-9956-ffa450edef68
2016-12-16 05:17:38 +00:00
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
2016-12-16 03:21:02 +00:00
Andreas Beeker
bd3297c617
eclipse warnings - close resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773910 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:36:03 +00:00
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
2016-12-13 00:34:30 +00:00
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
2016-12-13 00:33:50 +00:00
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
2016-12-13 00:33:08 +00:00
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
2016-12-13 00:31:23 +00:00
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
2016-12-13 00:30:24 +00:00
Andreas Beeker
68810a63ba
remove unused class
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773904 13f79535-47bb-0310-9956-ffa450edef68
2016-12-13 00:29:03 +00:00
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
2016-12-12 11:41:07 +00:00
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
2016-12-12 02:43:45 +00:00
Dominik Stadler
5d77996c06
Revert "Add pmd file"
...
This reverts commit 145eed15c09d4cf65963d73aec9cc2c9726cdaae.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773718 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:34 +00:00
Dominik Stadler
ecd6fffde1
Revert "add .gitignore"
...
This reverts commit 68ea28f3563a4225e2c1f6532bc54c24c9fca49d.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773717 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:30 +00:00
Dominik Stadler
3fa0e86773
Revert "Add launchconfig for coverage"
...
This reverts commit 6421eb62faf1eb98604f1aea7e5ad28c4e9fc9f9.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773716 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:26 +00:00
Dominik Stadler
cb52ea1383
Revert "Add script to run BiffViewer"
...
This reverts commit a7f97798f1ffa2e90daa570f244065e01ca931fc.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773715 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:22 +00:00
Dominik Stadler
f745764a16
Revert "Add script to run ant locally with Java 1.6/Ant 1.8.x"
...
This reverts commit ed848f2d5f02ea0b6645bc509e03c1e0c7135d96.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773714 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:18 +00:00
Dominik Stadler
9db04ec3fd
Revert "Add dynaTrace agent to junit launch config"
...
This reverts commit 960ce28be52f23202b28745f5eff4b35d37a9df1.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773713 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:14 +00:00
Dominik Stadler
9e96edb76c
Revert "Disable dynaTrace agent in coverage-launchconfig"
...
This reverts commit 49a2b5eab608795f08b141edb30141f22da47f8f.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773712 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:10 +00:00
Dominik Stadler
6d733204ba
Revert "Ignore sonar-target-dirs"
...
This reverts commit cf346759cd1636e3c46193219957367133817a79.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773711 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:06 +00:00
Dominik Stadler
6b6ce58eb6
Revert "Add Sonar settings"
...
This reverts commit 4bf7797a2d64a80cef8ef58fa6fe4caa42a8f654.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773710 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:17:02 +00:00
Dominik Stadler
f02448d3d5
Revert "Ignore forrest.properties which is used locally to rebuild documentation"
...
This reverts commit e21a2468b0bb5288b37203b38eea2e56825b99b4.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773709 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:16:58 +00:00