Commit Graph
36 Commits
Author SHA1 Message Date
Noel Grandin 41d9584179 'new Double' is deprecated in Java
replace with Double.valueOf

Change-Id: If5be8e500e31ebf9d5fb20ea7dd474677d7c74ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158785
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 12:00:34 +01:00
Noel Grandin cb982f1479 'new Float' is deprecated in Java
replace with Float.valueOf

Change-Id: Ib6408b24dac2953789d0ec67e73b8be8aefca252
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 12:00:24 +01:00
Stephan Bergmann 177183f692 Proper fix for coverity#1326893
FindBugs' FE.FE_FLOATING_POINT_EQUALITY is about double value inaccuracies, not
about NaN or negative zero (which is the topic of java.lang.Double.equals vs.
==).

Reuse existing qa.TestCaseOldAPI.approxEqual method, moved to util.utils.

Change-Id: I65f7bb1faf921e1c4035bb96aeff1eaf2cfb3153
2015-11-04 21:42:51 +01:00
Noel Grandin ffffc526e3 java: remove comment noise
Change-Id: If6347197ff4436b4edd06e6e62d8e8e6fe1d4db6
Reviewed-on: https://gerrit.libreoffice.org/13408
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10 08:06:38 +00:00
Noel Grandin 03c7c26cbe java: final fields that can be static
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-17 08:26:21 +02:00
Noel Grandin 4b4bff3402 java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19 14:57:18 +02:00
Noel Grandin ff0ad0493e java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19 14:57:17 +02:00
Noel Grandin be1bb7b1cc java: use Boolean.valueOf instead of instantiating Boolean objects
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19 14:57:16 +02:00
Noel Grandin 56ef5533fc java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19 14:57:16 +02:00
Noel Grandin ac5954d7c5 java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14 10:59:48 +02:00
Noel Grandin 0477e6c39b java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-12 09:41:28 +02:00
Noel Grandin b6a83e99c8 java: remove redundant null checks
Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
2014-08-08 09:48:19 +02:00
Noel Grandin 2d700944b5 java: remove unused imports
Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
2014-08-08 09:48:17 +02:00
Noel Grandin 8d6cf7a147 java: remove dead methods
Change-Id: I9f2e705fd603a7c8832c0f0772bee9f395380a0d
2014-08-08 09:48:16 +02:00
Noel Grandin 0c5f51ebbc java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05 11:31:50 +02:00
Noel Grandin f493555623 java: remove some casting in lib.TestParameters#getMSF
where the return value is always cast to XMultiServiceFactory,
so just do the cast in the method and avoid noise at the call sites.

Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13
2014-08-04 13:38:30 +02:00
Alexander Wilms f2cdf8848c Remove visual noise from chart2
Change-Id: Ic8dc71c2815df265e1935e629e0220396a50aaac
Reviewed-on: https://gerrit.libreoffice.org/8239
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-02-27 00:44:41 -06:00
Noel Grandin d62425cc27 Java cleanup, remove unnecessary casts
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f
Reviewed-on: https://gerrit.libreoffice.org/3431
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:51:41 +00:00
Noel Grandin bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
Michael Meeks b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Oliver Bolte 8e2002f390 INTEGRATION: CWS chart05 (1.15.2); FILE MERGED
2007/05/30 10:21:46 bm 1.15.2.1: adapted URL, disabled UserDefAttr and y-axis title
2007-06-11 13:56:44 +00:00
Vladimir Glazounov 4155d0bf07 INTEGRATION: CWS chart2mst3 (1.14.4); FILE MERGED
2006/02/21 11:03:31 bm 1.14.4.17: test UserDefinedAttributes by inserting a value (requires fixed default value)
2006/02/20 17:18:42 bm 1.14.4.16: test existence of UserDefinedAttributes in ChartArea
2005/08/18 14:27:18 bm 1.14.4.15: testData and testStockProperties corrected
2005/08/04 16:14:12 bm 1.14.4.14: adapted gradient and hatch test (using names), avoid some test that need a view due to problems, stock volume adapted, min-max line added
2005/07/12 12:56:51 bm 1.14.4.13: use named properties for gradients etc. in chart model
2005/07/05 15:23:54 bm 1.14.4.12: oops, wrong assure test
2005/07/05 14:56:53 bm 1.14.4.11: remove usage of new chart API in this test
2005/07/05 14:04:44 bm 1.14.4.10: testData: test correct retrieval, data row source disabled
2005/07/04 17:11:33 iha 1.14.4.9: removed deprecated file data provider
2005/07/04 17:04:40 iha 1.14.4.8: stock properties
2005/05/26 11:23:55 bm 1.14.4.7: some interfaces moved to data sub-namespace
2004/04/27 13:20:31 bm 1.14.4.6: axis title test
2004/04/27 09:29:11 bm 1.14.4.5: testing secondary y-axis
+approxEqual for integers
2004/04/26 18:59:30 iha 1.14.4.4: #i27367# added test move legend and diagram; size diagram
2004/04/01 10:46:18 bm 1.14.4.3: some chart type properties
2004/03/24 09:39:23 bm 1.14.4.2: test for XChartDataArray
2004/02/13 16:51:11 bm 1.14.4.1: join from changes on branch bm_post_chart01
2007-05-22 16:13:33 +00:00
Björn Milcke ec04a902df API changed (drafts removed) 2004-01-21 15:31:44 +00:00
Björn Milcke ef550e4ee6 +Gradient/Hatch at series/data point
+mean-value line
2003-12-19 14:02:59 +00:00
Björn Milcke 759b3eb17c ChartType concept: the template creates the diagram. To determine with which
template an existing Diagram was probably created, the data series tree is
searched and according to the result the template is guessed.
OldApi chart type support
SubGrid added
2003-11-04 11:37:45 +00:00
Björn Milcke 0ce0f21c5d change fill-style of area (and color to different one) 2003-10-31 15:30:42 +00:00
Björn Milcke b3fa4b8755 +testChartType 2003-10-22 06:24:54 +00:00
Björn Milcke f2d93a6317 +Area test 2003-10-17 13:39:47 +00:00
Björn Milcke 8d32f42e65 closing enabled again 2003-10-16 10:24:27 +00:00
Björn Milcke 7b8d041c2e calling close() causes an error: Investigate! 2003-10-15 15:42:30 +00:00
Björn Milcke f80d448926 +test for legend 2003-10-15 14:55:48 +00:00
Björn Milcke 11d7a37dc1 enable after() method again to close the document 2003-10-08 10:12:39 +00:00
Björn Milcke 3ed016feb1 TextRotation 2003-10-06 15:53:03 +00:00
Björn Milcke 63fc0af692 Axis: +one Line- and Character Property 2003-10-06 15:01:51 +00:00
Björn Milcke 471634e80d +Origin, Logarithmic 2003-10-06 14:01:00 +00:00
Björn Milcke 668c6b0245 initial import 2003-10-06 08:58:36 +00:00