Commit Graph

187 Commits

Author SHA1 Message Date
8c9fdc4a96 java: remove modifiers implied by the context
found by PMD

Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
2014-08-20 11:45:28 +02:00
4b4bff3402 java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19 14:57:18 +02:00
c552aac9f8 java: use 'Byte.valueOf' instead of 'new Byte'
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
2014-08-19 14:57:18 +02:00
0764292c5d java: use 'Short.valueOf' instead of 'new Short'
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19 14:57:18 +02:00
8a2c6c29af java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19 14:57:17 +02:00
ff0ad0493e java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19 14:57:17 +02:00
be1bb7b1cc java: use Boolean.valueOf instead of instantiating Boolean objects
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19 14:57:16 +02:00
ac5954d7c5 java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14 10:59:48 +02:00
0477e6c39b java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-12 09:41:28 +02:00
a274d19d11 java: remove redundant super-interfaces
Change-Id: Iaf671ef87057362c804999a5154d8e8277bbc4b8
2014-08-08 09:48:18 +02:00
0c5f51ebbc java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05 11:31:50 +02:00
f124688cfd java: remove various unused variables
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-08-05 11:31:49 +02:00
638848d5ea idl: remove external header guards
Change-Id: I78661f0750e4213a20dd2341580cbb181897f3ba
2014-05-16 14:37:28 +02:00
7078dbb906 jurt: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I6fc237a3274f51b282804b9a08fc063694376780
2014-03-10 17:39:56 +01:00
e524ecb3c9 Remove visual noise from jurt
Change-Id: I9f2d9d0ee99623495440fd66961b56a73bd4124a
Reviewed-on: https://gerrit.libreoffice.org/8276
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 10:09:26 -06:00
3656a57e88 add mode lines to new files (and idls) since last run
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22 12:21:34 +01:00
31170413ae API CHANGE: com.sun.star.lang.IllegalArgumentException
... derives from com.sun.star.uno.RuntimeException instead of
com.sun.star.uno.Exception.

Only test that breaks with this change is jurt_uno/AnyConverter_Test,
which for mysterious reasons effectively tests that
IllegalArgumentException is a subclass of Exception and not
RuntimeException.  Presumably this is just a generic exception test that
happens to use IllegalArgumentException.

Some further testing indicates there are no problems expected at
runtime:
Running "make subsequentcheck" with all Java test code compiled against
a ridl.jar that does not contain the change, running against a soffice
that uses ridl.jar and rdbs with the change + ridl.jar with the change
on the test side yields exactly the same AnyConverter_Test failure, with
no other failures.

Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-26 23:14:33 +01:00
0d26b10ab6 jurt: remote test: synchronize updates to counters in TestWorkAt
Apparently it is possible to lose updates there, or at least i've had a
failure where only 34 out of 35 increments were performed when checking
in passedAsyncTest from JobQueue_Test.testStaticThreadExecutesAsyncs.

Change-Id: I823ac65980e4e94be21305a10b98b4cfca247c81
2012-11-06 17:40:55 +01:00
c414499bbd Remove race conditions from test
Change-Id: I97e10fa3b9058211313a7faa5269d71e233f8bf8
2012-09-12 14:36:18 +02:00
ff77676612 Java cleanup - remove unused imports
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
2012-08-28 16:15:42 +02:00
2caf5d1937 Java cleanup - remove unnecessary semi-colons
Change-Id: I20a79d3d8f71dc48fc2662563f9c890dd3d94aac
2012-08-28 16:15:42 +02:00
8bfe47960f Java5 updates - convert to generics
Change-Id: I039e51958865a7ea000034e7bf765f64d49689cd
2012-08-20 19:04:33 +01:00
fa4966a15c Remove dead java code
Change-Id: I9a86978c4b4da058ddc44a7e79635e232ff6c870
2012-08-20 16:34:38 +01:00
f9fa0dd66b Java5 updates - update code to use generics
This is all of the code I missed in my first set of patches.

Change-Id: I8c7c9e5ac28dc3c2f3ac062c806fbf0787c997bd
2012-06-29 22:03:05 +02:00
7af4005580 Java5 update - convert code to use generics
Change-Id: Iff078cea287d0c508d2442d65cd9314ec3231c15
2012-06-29 22:03:03 +02:00
9def9b4674 Java5 update - convert Hashtable to HashMap
Change-Id: I59a7448b6c0a840b0f04b765ef9d5272dceb47b3
2012-06-29 22:03:02 +02:00
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
c282d0a3d8 jurt: use CustomTarget makefile 2012-04-06 12:41:37 +02:00
5bb5152123 Make jurt JunitTests work 2012-02-17 15:51:49 +01:00
2ca5b64277 remove unused source 2011-12-25 13:33:36 +01:00
8d0ec440e2 convert jurt/urp unit test 2011-12-25 13:33:35 +01:00
d6e5f729ae convert jurt unit tests 2011-12-25 13:33:28 +01:00
521aebc1d7 Change <file>.toURL() to <file>.toURI().toURL() 2011-05-02 22:40:58 +02:00
sb
4eb067284e sb135: #i116046# fixed jurt.com.sun.star.lib.uno.protocols.urp.Cache typo, adapted corresponding tests plus solenv/inc/javaunittest.mk to JUnit framework 2010-12-10 14:37:57 +01:00
7c80db2eb3 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
c7788533a2 CWS-TOOLING: integrate CWS sb113
2009-09-01 sb #i76393# second attempt at properly #ifdef-ing previous HG commit d598efdbf012
2009-08-28 sb #i102469# change back <T extends XInterface> to just <T> on queryInterface, to avoid binary incompatibility (method changing its signature from (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; to (Ljava/lang/Class;Ljava/lang/Object;)Lcom/sun/star/uno/XInterface;)
2009-08-28 sb #i76393# properly #ifdef previous HG commit d598efdbf012
2009-08-27 sb #i94421# work around compiler error (based on a patch supplied by cloph)
2009-08-26 sb merged in DEV300_m56
2009-08-26 sb #i76393# on Linux, include dynamic section offset in crash report so as to be able to map "prelinked" callstacks back to original (patch by cmc)
2009-08-26 sb #i88162# remove unnecessary whitespace lines from per-locale xcu files (patch by tora)
2009-08-17 Juergen Schmidt #i104292# set context classloader after create new custom UNO loader
2009-08-17 Juergen Schmidt #i103749# integrate patch
2009-08-14 sb #i103269# cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r 5124ebd5edd1 ("#i101955# changed encoding of XML file content from erroneous ISO-8859-1 to UTF-8")
2009-08-12 sb #i102469# fixed mis-applications of UnoRuntime.queryInterface (detected via the simplified UnoRuntime.queryInterface, the HG changeset 29de35fc9554) to use AnyConverter instead; changed qadevOOo's lib.MultiMethodTest.before to allow throwing arbitrary exceptions, to cater for IllegalArgumentException thrown by AnyConverter
2009-08-12 sb #i104178# drop extra libxml2-config script from libxmlsec
2009-08-10 sb #i101754# simplified osl_getProcessInfo for LINUX (patch by cmc)
2009-08-10 sb #i95018# avoid closing -1 fds (patch supplied by cmc)
2009-08-10 sb #i103585# removed (apparently unnecessary) zlib support from libxml2; in turn, removed zlib dependencies from libxmlsec, libxslt, and redland (assuming those were transitive dependencies brought in by direct dependencies on libxml2)
2009-08-10 sb #i102469# simplified UnoRuntime.queryInterface using Java 5 generics; adapted URE-related modules accordingly
2009-08-10 sb #i101213# adapted setsolar env (solenv/config/) to set PYTHONPATH (and not set PYTHONHOME) in accordance with configure env (set_soenv.in); fixed testtools/source/bridgetest/pyuno (which now should work everywhere out of the box, thanks to the fixed setsolar PYTHONPATH)
2009-08-10 sb cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r ea8de6d9396b ("#i101955# work in progress for a .hgignore file, continued")
2009-09-16 14:37:52 +00:00
86ee035299 INTEGRATION: CWS changefileheader (1.7.64); FILE MERGED
2008/03/31 07:24:32 rt 1.7.64.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:40:52 +00:00
87dcb31d24 INTEGRATION: CWS changefileheader (1.3.64); FILE MERGED
2008/03/31 07:24:31 rt 1.3.64.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:40:33 +00:00
eb6368e375 INTEGRATION: CWS changefileheader (1.4.32); FILE MERGED
2008/03/31 07:24:31 rt 1.4.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:40:13 +00:00
e21cbf5b52 INTEGRATION: CWS changefileheader (1.6.48); FILE MERGED
2008/03/31 07:24:31 rt 1.6.48.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:39:53 +00:00
5809d9540a INTEGRATION: CWS changefileheader (1.5.64); FILE MERGED
2008/03/31 07:24:31 rt 1.5.64.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:39:30 +00:00
84841267aa INTEGRATION: CWS changefileheader (1.4.64); FILE MERGED
2008/03/31 07:24:31 rt 1.4.64.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:39:12 +00:00
d803c71f61 INTEGRATION: CWS changefileheader (1.5.32); FILE MERGED
2008/03/31 07:24:31 rt 1.5.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:37:23 +00:00
4ee9ee5d1c INTEGRATION: CWS changefileheader (1.3.64); FILE MERGED
2008/03/31 07:24:30 rt 1.3.64.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:37:03 +00:00
d7acb89d8b INTEGRATION: CWS changefileheader (1.8.32); FILE MERGED
2008/03/31 07:24:30 rt 1.8.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:36:38 +00:00
2cbb548bec INTEGRATION: CWS changefileheader (1.15.32); FILE MERGED
2008/03/31 07:24:30 rt 1.15.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:36:17 +00:00
0cdc404105 INTEGRATION: CWS changefileheader (1.4.64); FILE MERGED
2008/03/31 07:24:30 rt 1.4.64.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:34:43 +00:00
501653fefd INTEGRATION: CWS changefileheader (1.13.32); FILE MERGED
2008/03/31 07:24:30 rt 1.13.32.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:34:23 +00:00
1276a1ba6f INTEGRATION: CWS changefileheader (1.7.64); FILE MERGED
2008/03/31 07:24:30 rt 1.7.64.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:33:45 +00:00