Commit Graph

8478 Commits

Author SHA1 Message Date
Dominik Stadler
8def7307d9 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
b573615cd0 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
centic
a977e9eaf2 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
centic
b49a16e7cc 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
centic
06b9fb5999 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
centic
25b22afebf 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
centic
0b17d4def9 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
centic
a150527574 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
kiwiwings
b4728919b9 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
kiwiwings
3ff9eb5f0d 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
centic
c44cf6ab38 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
centic
9a04e2dd07 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
kiwiwings
503a63c0d4 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
kiwiwings
c200faedec 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
kiwiwings
4f94969a41 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
kiwiwings
c4b37f0723 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
kiwiwings
0ff9cbb0f9 #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
kiwiwings
43c8f44c2c 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
kiwiwings
245e1745fe 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
b37d3699a5 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
f3674c3394 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
b403347a98 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
8b5f8483f4 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
e065cabe9d 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
94a81f7e68 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
3ab0097cdc 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
f4d208f452 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
4cc6e093f4 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
4aaef1761d 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
cbbf3f44db 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
269dd9e0af 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
6a8332a173 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
128001186b 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
fae46faf29 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
230453d76e 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
701b19cf21 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
9271833ba0 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
6524e27539 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
977b563559 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
f3fc14ebda 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
52f34a4cbd 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
908b4ffdd1 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
d910c43878 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
1c7d20574d 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
b8ac0e48fc 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
cf56288c74 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
Dominik Stadler
7aa03037cd Revert "Add initial file leak detector excludes"
This reverts commit 2d80ea9eb8bb5b3f59450dfa74cd19f54e3f3cbf.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773708 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:16:54 +00:00
Dominik Stadler
fa83a6aa5c Revert "Add local source for xmlbeans 2.3.0"
This reverts commit 24f275541a7274f3e5456b4f4006c93d62a52ba7.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773707 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:16:50 +00:00
Dominik Stadler
952b0862c4 Revert "Add script to convert PPT to PNGs"
This reverts commit ac02737d95fd9698768322098477a3e1b0d2bfff.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773706 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:16:46 +00:00
Dominik Stadler
9ded514760 Revert "Ignore new directories ooxml-lib and compile-lib"
This reverts commit 251d0c968cb9b8ac7b03113597f641db9880df37.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773705 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:16:42 +00:00