summaryrefslogtreecommitdiff
path: root/scripting
AgeCommit message (Collapse)Author
2014-09-05scripting: remove import from the same packagerbuj
Change-Id: If3a07e81f5d738395d6718302512c0172b90d977 Reviewed-on: https://gerrit.libreoffice.org/11285 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-04scripting: use contains to check if a string contains a substringrbuj
Change-Id: I7cbd32310e362f43f0a456e45b58930eb5453f0c Reviewed-on: https://gerrit.libreoffice.org/11289 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-04scripting: the if statement is redundantrbuj
Change-Id: I7e61d740d6f58afbcdad630deb0de0ef548efcfb Reviewed-on: https://gerrit.libreoffice.org/11288 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-04scripting: the assigned value is never usedrbuj
Change-Id: I430da93e985291300ac5fdaccc7f907535771a07 Reviewed-on: https://gerrit.libreoffice.org/11287 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-02coverity#707084 Uncaught exceptionCaolán McNamara
Change-Id: I89459f7a77fcb5785cfb2e8288326fce65202d9c
2014-09-02createNonDocMSPs->ensureNonDocMSPsCaolán McNamara
put the double-lockery into ensureNonDocMSPs and the contents into a new createNonDocMSPs Change-Id: Id09c933396e1a6ae1c45be79131a75729b16932b
2014-09-02scripting: fix javadoc error: unknown tag: nullrbuj
Change-Id: I7d9ec1759a1689943d51636926024278cec0dc3b Reviewed-on: https://gerrit.libreoffice.org/11234 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-02scripting: fix javadoc error: unknown tag: returnsrbuj
Change-Id: Ib257ad76b2571755bdb744ad128ba1e558207eee Reviewed-on: https://gerrit.libreoffice.org/11233 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-28Fix some *_component_getFactory function typesStephan Bergmann
Change-Id: I912f9d1454c049419e9ead6f0ff8d7fa7d8cd6c5
2014-08-26Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: Ib4a87cab2729e18b2c830cbd7e7a34d62b5f0f45
2014-08-26convert SBX flag bits to type-safe enumNoel Grandin
Change-Id: I18d5d6a27f06ee60a5cb3dc393bf05b51bba4817 Reviewed-on: https://gerrit.libreoffice.org/11070 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-21Fix *_component_getFactory function typeStephan Bergmann
Change-Id: I966824af73effed95d975c09cb8a7f9ae022843f
2014-08-21Fix *_component_getFactory function typeStephan Bergmann
Change-Id: Id16c653554f5573dc862e0798747b7337ff74d44
2014-08-20remove do-nothing codeNoel Grandin
Change-Id: I101cc3be44f029f7353e8d40823c0d6b2bd761b3
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
2014-08-20java: remove modifiers implied by the contextNoel Grandin
found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
2014-08-20java: remove unnecessary return statementsNoel Grandin
found by PMD Change-Id: I3d150421948d17eaed34fac2b1a212da34288d1a
2014-08-20java: avoid if..else when returning boolean valuesNoel Grandin
Change-Id: Iab52762a9abfe8735223372b09638ce9d8d44318
2014-08-20java: avoid unnecessary comparisons in boolean expressionsNoel Grandin
i.e. stuff like "x == true" Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
2014-08-20double-checked locking is not thread-safe in JavaNoel Grandin
found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
2014-08-19java: no need to instantiate String objects directlyNoel Grandin
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19java: remove unused methodsNoel Grandin
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
2014-08-19fix java1.5 build compatibilityNoel Grandin
accidentally introduced by me in commit 0477e6c3 "java: add @Override annotation to overriding methods" Change-Id: Ieccd78f57282778a5e8f805f7a40f5e6a24e9498
2014-08-18ErrorBox->MessageDialogCaolán McNamara
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-14java: remove unused importsNoel Grandin
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14remove usage of DOCPTH and CNCSTRNoel Grandin
from the java test code, this was legacy, just finishing the job Change-Id: I2475efcde561cf10b29ea956972cddc06ec5635e
2014-08-13java: remove dead methodsNoel Grandin
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
2014-08-13java: remove unused fieldsNoel Grandin
found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
2014-08-13java: reduce scope, make some methods privateNoel Grandin
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make member classes privateNoel Grandin
found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
2014-08-13java: reduce scope, make fields privateNoel Grandin
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-13java: reduce scope, make constructors privateNoel Grandin
found by UCDetector Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
2014-08-12java: reduce scope, make constants privateNoel Grandin
found by UCDetector Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57
2014-08-12java: return value of trim() ignoredNoel Grandin
Change-Id: If4cd3eb3e6db0c095796b0ff018162e855afa38c
2014-08-12java: fix broken javadoc tagsNoel Grandin
Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b
2014-08-12java: remove useless javadoc tagsNoel Grandin
that are not conveying any useful information Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-11java: remove unused parametersNoel Grandin
Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa
2014-08-11java: remove unused parametersNoel Grandin
Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-08java: remove redundant null checksNoel Grandin
Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
2014-08-08java: redundant assignment, variable can only be nullNoel Grandin
Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18
2014-08-08java: use an empty block rather than an empty statementNoel Grandin
Change-Id: I05e60964521d6ec3694483816d91359fb12c8e4b
2014-08-08java: remove redundant super-interfacesNoel Grandin
Change-Id: Iaf671ef87057362c804999a5154d8e8277bbc4b8
2014-08-08java: remove unused importsNoel Grandin
Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec