27 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 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 4bf4e3d407 java: no need to instantiate the AccessibilityTools object
since all of it's methods and fields are static.

Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
2015-01-12 08:36:17 +02:00
Noel Grandin fe095dada4 java,qadev: remove unused parameters and local vars
Change-Id: Ifb9f9374051fe88dc4cd5a7a28b2c8c992ced873
Reviewed-on: https://gerrit.libreoffice.org/13097
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-24 20:45:17 +00:00
Noel Grandin 0764292c5d java: use 'Short.valueOf' instead of 'new Short'
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19 14:57:18 +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 41709cc268 java: remove unused parameters
Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
2014-08-11 12:33:02 +02:00
Noel Grandin dfd4b94a52 java: remove some unused import statements
Change-Id: Id6342be66221c81b05aee9af519c800e51a286b3
2014-08-04 13:38:31 +02:00
Noel Grandin 9658b27b69 java: remove some unused variables
Change-Id: Ia9405d3e34e710059ff68bf850de91c36f4e1e1b
2014-08-04 13:38:30 +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
Noel Grandin 6f17a2f66f Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26 08:36:04 +02:00
Noel Grandin ada0298167 Java cleanup - reduce use of global fields
This field does not need to be global, it is returned from the relevant
methods

Change-Id: Ic53eec4a699d6acc4410e71dde385e6a49ded745
Reviewed-on: https://gerrit.libreoffice.org/3567
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-23 10:30:31 +00:00
Noel Grandin 96fb2453e4 Javadoc warnings - fix some tags and references
Change-Id: I13be16beac258c551e58654b4fc37877d7bb9695
2012-08-28 16:15:44 +02:00
Noel Grandin 360f566cf9 Java update - fix a bunch of javadoc warnings in @param tags
Change-Id: Ibaccfd0312ab6697d8c9887367ea664163767587
2012-08-20 12:55:03 +01: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 ab0acc8f63 INTEGRATION: CWS changefileheader (1.8.62); FILE MERGED
2008/03/31 16:51:02 rt 1.8.62.1: #i87441# Change license header to LPGL v3.
2008-04-10 18:14:21 +00:00
Rüdiger Timm 84b8a4f72f INTEGRATION: CWS ooo19126 (1.7.16); FILE MERGED
2005/09/05 15:47:17 rt 1.7.16.1: #i54170# Change license header: remove SISSL
2005-09-09 02:43:02 +00:00
Kurt Zenker bb5157a579 INTEGRATION: CWS removedrafts (1.6.22); FILE MERGED
2005/02/18 12:51:03 sw 1.6.22.1: #i43060#
2005-03-01 19:35:44 +00:00
Pascal Junck de3ce409e4 INTEGRATION: CWS qadev19 (1.5.70); FILE MERGED
2004/10/21 12:06:42 cn 1.5.70.1: #i35923# at.printAccessibleTree(log, xRoot,tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE)) added
2004-11-02 11:11:49 +00:00
Oliver Bolte 843f76a443 INTEGRATION: CWS qadev15 (1.4.18); FILE MERGED
2003/12/17 08:58:52 sw 1.4.18.1: #114449#
2004-01-05 19:01:08 +00:00
Rüdiger Timm 6b9783233c INTEGRATION: CWS qadev11 (1.3.14); FILE MERGED
2003/09/03 15:34:31 sw 1.3.14.1: #112049#
2003-09-08 11:42:29 +00:00
Vladimir Glazounov 25a0511d37 INTEGRATION: CWS qadev6 (1.2.2); FILE MERGED
2003/05/21 10:58:18 sg 1.2.2.1: #109819# prepare devide of runner
2003-05-27 12:41:52 +00:00
Vladimir Glazounov 8475506aad #100000# no drafts anymore 2003-04-28 10:27:42 +00:00
Stephan Wunderlich 26ebdfc472 NEW: initial version 2003-01-27 17:20:08 +00:00