23 Commits
Author SHA1 Message Date
Noel Grandin 3bd57cc2c0 java:remove more unnecessary catch/re-throw
Change-Id: Id9a13c7f4ae0fd53c95c551544e60af44bb3fb95
Reviewed-on: https://gerrit.libreoffice.org/16203
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-11 12:52:06 +00:00
Noel Grandin cc190ef25f there is no need to synchronize createTestEnvironment
the only caller of these methods is already synchronized

Change-Id: Icea587d71acba1eca2a97ae0138a69fa98063f50
2015-06-09 13:10:42 +02:00
Noel Grandin 2a0dda3dfb remove some unnecessary exception wrapping in the Java tests
Modify createTestEnvironment so that it throws Exception. This
is appropriate for unit testing.
The wrapping adds no value and the calling method already has
a catch(Exception) to handle anything.

Change-Id: I430a414f63d2cbfc3b65ecfde0285509265e5192
2015-06-09 11:34:31 +02:00
Noel Grandin b9dd51782c some spelling fixes, mostly in Java code
Change-Id: Ib9d0522a1f371404ee990348712e2d196049f69f
2015-06-08 14:06:54 +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 dfd4b94a52 java: remove some unused import statements
Change-Id: Id6342be66221c81b05aee9af519c800e51a286b3
2014-08-04 13:38:31 +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
Andras Timar 7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
Stephan Bergmann 77dc93ddea What's it with all those *static* XSpreadsheetDocument instances?
...appears to be completely unnecessary, and maybe this helps fix some obscure
DispsedException failures in JunitTest_sc_unoapi (not ones resulting from a
crashed soffice.bin, but "genuine" ones happening when chasing
util.AccessibilityTools.getAccessibleObjectForRole).

Change-Id: I127940e9a2a9784d01255307b60614d53c86436f
2013-08-22 14:55:29 +02:00
Noel Grandin 2caf5d1937 Java cleanup - remove unnecessary semi-colons
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
2012-08-28 16:15:42 +02:00
Noel Grandin 453d7edc42 Java5 update - convert more code to use generics:wq
Change-Id: I7ea32cad40a6657e4e5886d04af008cb6d67ac6e
2012-06-29 22:03:01 +02:00
Noel Grandin b65017a2a7 Java5 update - usage generics where possible
Change-Id: I12f8c448961919e153047e28fee2a0acf3af1002
2012-06-29 22:03:01 +02:00
Michael Meeks b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Jens-Heiner Rechtien 7d8d20ca7e changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm 1aba5e843b INTEGRATION: CWS changefileheader (1.8.58); FILE MERGED
2008/03/31 16:50:25 rt 1.8.58.1: #i87441# Change license header to LPGL v3.
2008-04-10 16:56:45 +00:00
Kurt Zenker 32fbc9e497 INTEGRATION: CWS qadev24 (1.6.98); FILE MERGED
2005/09/19 15:11:36 cn 1.6.98.2: RESYNC: (1.6-1.7); FILE MERGED
2005/09/13 07:57:36 cn 1.6.98.1: #i54533# define class variables for documents as 'static'
2005-11-02 16:55:46 +00:00
Rüdiger Timm 8e7d60f7bf INTEGRATION: CWS ooo19126 (1.6.102); FILE MERGED
2005/09/05 15:46:10 rt 1.6.102.1: #i54170# Change license header: remove SISSL
2005-09-09 01:44:40 +00:00
Oliver Bolte ac6eb7a6cd INTEGRATION: CWS qadev15 (1.5.8); FILE MERGED
2003/12/16 09:13:53 sw 1.5.8.1: #114449#
2004-01-05 17:53:40 +00:00
Kurt Zenker 5047433a21 INTEGRATION: CWS qadev13 (1.4.6); FILE MERGED
2003/11/07 16:20:19 sg 1.4.6.1: #112280#CHG: added missing object relations
2003-11-18 15:30:10 +00:00
Rüdiger Timm 3beaabfa8a INTEGRATION: CWS qadev11 (1.3.14); FILE MERGED
2003/09/03 15:22:11 sw 1.3.14.1: #112049#
2003-09-08 11:06:20 +00:00
Vladimir Glazounov 2da76784d4 INTEGRATION: CWS qadev6 (1.2.8); FILE MERGED
2003/05/21 10:56:46 sg 1.2.8.1: #109819# prepare devide of runner
2003-05-27 12:02:48 +00:00
Stephan Wunderlich 124b013b2f CHG: using AnyConverter instead of simple cast 2003-01-31 14:12:26 +00:00
Stephan Wunderlich 26ebdfc472 NEW: initial version 2003-01-27 17:20:08 +00:00