Javen O'Neal
|
f31c1d72fc
|
findbugs: fix SF_SWITCH_FALLTHROUGH warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748088 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 06:12:35 +00:00 |
Javen O'Neal
|
1e55cb475a
|
findbugs depends on the poi, poi-scratchpad, and poi-ooxml jars being copied to build/maven
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748087 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 05:41:32 +00:00 |
Javen O'Neal
|
2df9f76acf
|
findbugs: fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD and UUF_UNUSED_FIELD warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748086 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 05:34:02 +00:00 |
Javen O'Neal
|
288b0b46b9
|
findbugs: fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748085 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 05:06:47 +00:00 |
Javen O'Neal
|
a9c0342b1d
|
findbugs: fix URF_UNREAD_FIELD warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748084 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 04:42:59 +00:00 |
Javen O'Neal
|
784a7a6af8
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748083 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 04:34:37 +00:00 |
Javen O'Neal
|
8b8b75f547
|
consolidate findbugs filters using Or logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748081 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 04:09:41 +00:00 |
Javen O'Neal
|
b597097568
|
fix findbugs issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748080 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 03:48:30 +00:00 |
Javen O'Neal
|
0fae3bcb08
|
bug 58787: reintegrate changes from ss_border_property_template branch at r1748074. The BorderPropertyTemplate allows changes to border formatting to be staged in a template and applied to a sheet at a later time. This reduces the number of intermediate styles created, reduces interactions with cell objects (CellUtil.get/setCellProperties), and makes it easier to make the same formatting changes to multiple sheets. This utility can currently apply border line style and border color. This utility also adds the ability to add a border around a cell range rather than a single cell. Contributed by Mark Murphy.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748075 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 01:25:50 +00:00 |
Javen O'Neal
|
286e650c2a
|
rename drawBorders(..., short color, ...) to drawColoredBorders to make it obvious that method changes border line style and color
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748074 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 01:00:51 +00:00 |
Javen O'Neal
|
8bf2ebf453
|
test copy constructor: make changes to same range: this is a better test for deepcopy
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748073 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 00:50:52 +00:00 |
Javen O'Neal
|
02fd3e4fd8
|
add copy constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748072 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 00:43:34 +00:00 |
Javen O'Neal
|
ee4b7c17ab
|
move colors in TestBorderPropertyTemplate to testclass constants
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748071 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-13 00:40:46 +00:00 |
Javen O'Neal
|
e33e9ec24c
|
rewrite switch statements to not re-check the switch'd variable
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748070 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 23:43:16 +00:00 |
Javen O'Neal
|
c8899ba957
|
rename borderIsNotSetOrBlank to borderIsNotSet. Changing a set border style from NONE to THIN fails the unit test. What is the correct behavior?
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748068 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 23:03:23 +00:00 |
Javen O'Neal
|
f2cfbba58c
|
rename borderIsNotSetOrBlank to borderIsNotSet. Changing a set border style from NONE to THIN fails the unit test. What is the correct behavior?
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748067 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 22:59:47 +00:00 |
Javen O'Neal
|
50ddff8c66
|
move check if border line style is blank before setting the border color to a helper function for readability
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748066 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 22:57:37 +00:00 |
Javen O'Neal
|
9fc99212a9
|
remove public convenience methods that let the user avoid creating a CellAddress object. Having the user provide a CellAddress increases the chance the user-provided object will be reused if possible. This also moves the validation of the CellAddress object outside of this BorderPropertyTemplate class (easier to debug), improves readability, and runs slightly faster since the CellAddress is needed anyways as a key.
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748065 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 22:33:24 +00:00 |
Javen O'Neal
|
de2abf5cee
|
javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748063 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 22:02:38 +00:00 |
Javen O'Neal
|
aeb3387171
|
use CellAddress in unit tests where possible to improve readability
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748062 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 22:01:30 +00:00 |
Javen O'Neal
|
631a29dc54
|
javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748061 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 22:00:45 +00:00 |
Javen O'Neal
|
e216457d77
|
javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748055 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 21:35:56 +00:00 |
Andreas Beeker
|
612217589c
|
fixing javadocs errors (in JDK8)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748054 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 21:28:13 +00:00 |
Andreas Beeker
|
3930739eab
|
fixing javadocs errors (in JDK8)
removing Rainers author tags as those cause a lot of errors and should be omitted anyways (see https://poi.apache.org/guidelines.html)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748046 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 20:19:59 +00:00 |
Andreas Beeker
|
e190b07960
|
javadocs fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748042 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 19:54:35 +00:00 |
Andreas Beeker
|
396d787dbe
|
sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748028 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 16:57:15 +00:00 |
Andreas Beeker
|
0f89809206
|
ignore invalid performance issues - e.g. see #57840
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747947 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 01:18:12 +00:00 |
Andreas Beeker
|
85ef689f53
|
revert back to changes of bug 57840
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747945 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 00:54:01 +00:00 |
Andreas Beeker
|
8f0e87f7bb
|
Common-SS: changed UDFFinder from interface to abstract class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747943 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 00:20:52 +00:00 |
Andreas Beeker
|
e425cd4f14
|
findbugs fixes
changed UDFFinder to abstract class and moved DEFAULT constant to factory method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747942 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-12 00:12:22 +00:00 |
Andreas Beeker
|
6da9c4514d
|
use newer findbugs version, if we run with java 7+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747936 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 21:23:01 +00:00 |
Dominik Stadler
|
2edb0f535b
|
Add some pre-checks to fail the test with better assertion if the locale is not set correctly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747916 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 17:03:59 +00:00 |
Dominik Stadler
|
781a4283b5
|
Downgrade version of download-plugin as the newer one is not found by Maven
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747915 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 17:03:53 +00:00 |
Dominik Stadler
|
48b7a76300
|
Set the correct locale for tests in the Sonar-Maven files to not fail on CI machines that have a different locale set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747914 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 17:03:46 +00:00 |
Javen O'Neal
|
f44d02f1e1
|
make CellRangeAddresses easier to cross-reference the example with the written out workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747888 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 12:18:04 +00:00 |
Javen O'Neal
|
38bac40cf0
|
make these classes more discoverable/searchable using more specific names
rename PropertyTemplate to BorderPropertyTemplate
rename Extent to BorderExtent
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747884 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 12:09:23 +00:00 |
Javen O'Neal
|
370a0563e8
|
bug 57840: lazily compute hashCode; patch from Greg Woolsey
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747881 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 11:40:30 +00:00 |
Javen O'Neal
|
460540ded2
|
whitespace (tabs to spaces, 3-space to 4-space)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747879 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 11:35:18 +00:00 |
Javen O'Neal
|
0e0afb3c72
|
bug 57840: add disabled unit test with large number of structured reference formulas
patch and spreadsheet contributed by Mark Woolsey
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747878 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 11:28:55 +00:00 |
Javen O'Neal
|
adfb17a916
|
javadoc update and boolean addLeft|Right|Top|Bottom line wrap update
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747877 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 11:12:04 +00:00 |
Javen O'Neal
|
6f68efc02d
|
fix spelling in javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747876 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 11:01:48 +00:00 |
Javen O'Neal
|
55604275ae
|
fix javadocs: remove unnecessary @links, remove references to CellStyle
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747873 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 10:09:05 +00:00 |
Javen O'Neal
|
3b5a3dc469
|
move loop-invariants outside the loop for readability and execution speed
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747871 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 09:58:12 +00:00 |
Javen O'Neal
|
a0e1e136b1
|
replace usage of all deprecated CellStyle.BORDER_* constants with BorderStyle.*
update PropertyTemplate functions to require enum instead of short borderType
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747868 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 09:15:57 +00:00 |
Dominik Stadler
|
50f02c9a0f
|
Improve output on invalid HTTP Status Code and ignore another failure to contact the TSP server
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747863 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 08:45:41 +00:00 |
Dominik Stadler
|
ad5e04d5a1
|
Remove invalid removal of findbugs-zip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747862 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 08:45:33 +00:00 |
Dominik Stadler
|
42f556adef
|
Update to latest versions of Maven plugins for Sonar-build and use properties for some third party libs and some Maven plugins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747861 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 08:45:28 +00:00 |
Javen O'Neal
|
ba1446c4f7
|
continue simplifying using helper functions
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747859 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 08:15:50 +00:00 |
Javen O'Neal
|
ee66d945e9
|
continue simplifying using helper functions
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747858 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 08:08:04 +00:00 |
Javen O'Neal
|
4030a40ec0
|
add helper functions for verifying template properties were set correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1747855 13f79535-47bb-0310-9956-ffa450edef68
|
2016-06-11 07:48:32 +00:00 |