summaryrefslogtreecommitdiffstats
path: root/src/scratchpad
Commit message (Collapse)AuthorAgeFilesLines
...
* for -> foreachJaven O'Neal2017-10-181-8/+8
| | | | | | | string.equals() -> string.isEmpty() or .equals(string) ArrayList -> List git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812461 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary StringBuilder [thanks to Kui Liu]. This close #80.PJ Fanning2017-10-151-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812232 13f79535-47bb-0310-9956-ffa450edef68
* Fix some findbugs-issues and apply some code-cleanup and apply some smaller ↵Dominik Stadler2017-10-1311-48/+28
| | | | | | | | pull requests. This closes #74, This closes #75, This closes #76 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812097 13f79535-47bb-0310-9956-ffa450edef68
* Remove "filling" in IntList as this has no effect whatsoever as far as I ↵Dominik Stadler2017-10-111-13/+13
| | | | | | | | could see Fix some IntelliJ warnings, missing JavaDoc, typos, Findbugs issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811793 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61586: Add test which shows that it works as expectedDominik Stadler2017-10-061-7/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811355 13f79535-47bb-0310-9956-ffa450edef68
* Adjust some unit-tests, use try-with-resource, enable test which works now, ...Dominik Stadler2017-09-261-26/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809739 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61349 -- bump limits on classes that caused regressions in Dominik's ↵Tim Allison2017-09-256-6/+6
| | | | | | regression corpus. Many thanks to Dominik Stadler for running the regression tests!!! git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809623 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61349 -- add more sanity checks when allocating byte[]Tim Allison2017-09-2176-102/+405
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809169 13f79535-47bb-0310-9956-ffa450edef68
* tidy up some test codePJ Fanning2017-09-191-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808944 13f79535-47bb-0310-9956-ffa450edef68
* use non-deprecated versions of getCellTypePJ Fanning2017-09-182-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808741 13f79535-47bb-0310-9956-ffa450edef68
* change HyperLink getType to return HyperlinkTypePJ Fanning2017-09-181-20/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808737 13f79535-47bb-0310-9956-ffa450edef68
* update getCellType to return CellType enum instead of intPJ Fanning2017-09-183-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808700 13f79535-47bb-0310-9956-ffa450edef68
* Various code cleanups, "final" for static methods is useless, for-loops, ↵Dominik Stadler2017-09-177-37/+43
| | | | | | simplify boolean conditions, try-with-resource, javadoc, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808620 13f79535-47bb-0310-9956-ffa450edef68
* Use Integer.compare() where possibleDominik Stadler2017-09-166-32/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808522 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary local variablesDominik Stadler2017-09-1636-97/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808518 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary type arguments (Java 8)Dominik Stadler2017-09-16115-264/+264
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary type argumentsDominik Stadler2017-09-162-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808515 13f79535-47bb-0310-9956-ffa450edef68
* Suppress some warningsDominik Stadler2017-09-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808514 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused importsDominik Stadler2017-09-166-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808513 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary casts and toString() callsDominik Stadler2017-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808512 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary semicolonsDominik Stadler2017-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808511 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary initialization of membersDominik Stadler2017-09-1642-69/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808510 13f79535-47bb-0310-9956-ffa450edef68
* Let IntelliJ cleanup some code-warnings across the whole code-base: ↵Dominik Stadler2017-09-1614-20/+20
| | | | | | unnecessary casts git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808508 13f79535-47bb-0310-9956-ffa450edef68
* Add additional check as mentioned in bug 50060Dominik Stadler2017-09-161-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808503 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-151-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808455 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-143-20/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808400 13f79535-47bb-0310-9956-ffa450edef68
* Copy over and tweak PicturesSource from Apache TikaNick Burch2017-09-071-0/+136
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807651 13f79535-47bb-0310-9956-ffa450edef68
* #61381 - PushbackInputStreams passed to ZipHelper may not hold 8 bytesAndreas Beeker2017-08-111-17/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804854 13f79535-47bb-0310-9956-ffa450edef68
* #61363 - Unify escher shape id allocation Andreas Beeker2017-07-303-36/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803483 13f79535-47bb-0310-9956-ffa450edef68
* 61337 -- try to convert assertions to exceptions. I left in the assertions ↵Tim Allison2017-07-261-23/+23
| | | | | | for the binary search components. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803092 13f79535-47bb-0310-9956-ffa450edef68
* 61346 add more sanity checks before allocating byte arrays in emf/wmfTim Allison2017-07-267-23/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803041 13f79535-47bb-0310-9956-ffa450edef68
* 61338 -- avoid infinite loop triggered by fuzzed wmf fileTim Allison2017-07-252-8/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802997 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61331 - Font group handling / common font interfaceAndreas Beeker2017-07-2320-691/+764
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802741 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IntelliJ warningsDominik Stadler2017-07-211-19/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802629 13f79535-47bb-0310-9956-ffa450edef68
* javadoc: replace invalid self enclosing elementsPJ Fanning2017-07-174-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802110 13f79535-47bb-0310-9956-ffa450edef68
* bug 61294 -- cleaned up based on PJ Fanning's code review. Went with a ↵Tim Allison2017-07-143-7/+20
| | | | | | copy/paste from commons-io. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801952 13f79535-47bb-0310-9956-ffa450edef68
* bug 61296: suggest de-duplication of purl dublin core namespace urlJaven O'Neal2017-07-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801905 13f79535-47bb-0310-9956-ffa450edef68
* bug 61294 -- prevent infinite loop in IOUtils' skipFully.Tim Allison2017-07-131-2/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801844 13f79535-47bb-0310-9956-ffa450edef68
* bug 60685: ignore problems with HPBF Publisher Quill Contents PLC hyperlink ↵Javen O'Neal2017-07-101-1/+11
| | | | | | records so that text extraction can continue git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801405 13f79535-47bb-0310-9956-ffa450edef68
* whitespaceJaven O'Neal2017-07-101-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801404 13f79535-47bb-0310-9956-ffa450edef68
* [Bug-61268] avoid NegativeArraySizeException parsing doc filePJ Fanning2017-07-091-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801395 13f79535-47bb-0310-9956-ffa450edef68
* #61169 - Text with Japanese characters overflows textboxAndreas Beeker2017-07-081-11/+16
| | | | | | - add resize methods with Graphics argument git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801329 13f79535-47bb-0310-9956-ffa450edef68
* #61243 - Refactor and unify toString/toXml in DDFAndreas Beeker2017-06-301-8/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800452 13f79535-47bb-0310-9956-ffa450edef68
* Remove old XSSFWorkbook wb.xssfSheetIterator methodPJ Fanning2017-06-291-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800248 13f79535-47bb-0310-9956-ffa450edef68
* Remove some deprecated *SSF APIsPJ Fanning2017-06-282-23/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800147 13f79535-47bb-0310-9956-ffa450edef68
* @Ignore("requires an internet connection to a 3rd party site"Javen O'Neal2017-06-201-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799326 13f79535-47bb-0310-9956-ffa450edef68
* #61169 - Text with Japanese characters overflows textbox Andreas Beeker2017-06-171-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798986 13f79535-47bb-0310-9956-ffa450edef68
* #61162 - En-/decryption support for HWPFAndreas Beeker2017-06-146-342/+264
| | | | | | | | - encryption support for HWPF - refactor/unify EncryptionInfo handling in H**F classes - remove Iterable interface from WorkbookRecordList - use getRecords() instead, to prevent modifications over the Iterator git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798722 13f79535-47bb-0310-9956-ffa450edef68
* Move one testcase with incorrect source locationDominik Stadler2017-06-091-112/+91
| | | | | | | | remove some junit dependencies in example-code build: do not pass junit-jar to normal compile targets to avoid introducing it as dependency again Reformat code, fix warnings, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798202 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60374: Add test for ArrayIndexOutOfBounds on old Word Documents due to ↵Dominik Stadler2017-06-091-2/+18
| | | | | | Non-Unicode git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798200 13f79535-47bb-0310-9956-ffa450edef68