Commit Graph

16 Commits

Author SHA1 Message Date
Javen O'Neal f49047e733 add @NotImplemented annotation to methods that are not implemented
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738469 13f79535-47bb-0310-9956-ffa450edef68
2016-04-10 21:28:41 +00:00
Andreas Beeker aaafb0270d Bug 58326 - Forbidden APIs patches - first set of changes for locale and timezone settings
also includes fixes for
- name shadowing 
- unused deprecated method "getClipRect" in classes extending Graphics2d
- HexDump - replaced intermediate String.format calls with custom padding
- convert testcases to junit4
- closing resources

also tested with an arbitary timezone (PST) and locale (ru)

supresses forbidden apis check for
- LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called)
- Classes using FontMetrics - without the actual text it's difficult to return something sane

Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the
extended mapi properties, which might contain the timezone

DataFormatter has now a Observable property which need to be observed when custom formats are used
and the Locale changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
2015-09-07 20:19:50 +00:00
Dominik Stadler 6f4b4816a8 Bug 57480: Fix some unnecessary casts, generics, Eclipse warnings, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658594 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:33:24 +00:00
Nick Burch f04c20ce5d Start to remove @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516973 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 18:36:41 +00:00
Evgeniy Berlog 9645abc093 checked all examples, added several features
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/gsoc2012@1360132 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 12:08:38 +00:00
Yegor Kozlov deae43db43 more cleanup of deprecation warnings generated by javac
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 06:57:23 +00:00
Josh Micich c83d6bfa24 Fixing compiler warnings - unnecessary typecasts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805284 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 05:29:53 +00:00
Nick Burch d2a19f329c Replace the single method JavaDoc copied from the JDK with our own documentation, which is possibly also easier to grok
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@544197 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 18:22:18 +00:00
Henri Yandell fca4623791 Applying the copy2license.pl script (with tiny modification to allow for more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:18:16 +00:00
Glen Stampoultzis bea0a04d24 Support for line thicknes through escher graphics 2d interface.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@398044 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 00:18:16 +00:00
Rainer Klute bf010cfa1b - Ironed out a whole bunch of Javadoc issues. Not that the documentation is any better now, but at least Javadoc complains no longer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353622 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 01:00:53 +00:00
Glen Stampoultzis eeef2a1b12 Merged REL_2_BRANCH to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353586 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 08:52:54 +00:00
Glen Stampoultzis 307d2ddc32 Conditional check for logging to avoid creating too many temporary objects.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353559 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 10:18:50 +00:00
Glen Stampoultzis a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Glen Stampoultzis 0f924813a5 Some of the later tweaks ported to the head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353543 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 12:19:08 +00:00
Glen Stampoultzis d335e740b6 Ported the drawing stuff from the rel_2_branch. Given the effort this took I'm really really wanting to move to subversion.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353542 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 11:45:38 +00:00