summaryrefslogtreecommitdiff
path: root/bean
AgeCommit message (Collapse)AuthorFilesLines
2015-05-08jboolean-related clean-upStephan Bergmann1-1/+1
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin2-4/+4
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-05java: remove dead codeNoel Grandin1-4/+0
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2015-01-02Remove unnecessary bean/inc/comp_LocalOfficeWindow.hStephan Bergmann4-36/+0
Change-Id: Ia3f5d11aace705f36016aabda7f325ba46aa8640
2014-12-19java: these fields can be converted to local variablesNoel Grandin1-6/+4
Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf
2014-12-11java: reduce visibility of fields and methodsNoel Grandin2-3/+3
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-05java: remove some unused local variablesNoel Grandin1-2/+1
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
2014-12-05java: remove some unused fieldsNoel Grandin1-10/+8
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
2014-12-02Deprecated com.sun.star.beans is goneStephan Bergmann3-126/+0
Change-Id: Ifce16ea732dd79730bff7bfa6269bd8b1d8e8aa6
2014-11-18java: fix some raw types warningsNoel Grandin1-2/+2
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
2014-11-18java: make fields final where possibleNoel Grandin5-14/+14
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-18java: rather use @Deprecated annotationNoel Grandin5-15/+7
than an empty @deprecated tag Change-Id: I1646ce1c0c8823ac5be0153aeb8eb2b830e7ebfa Reviewed-on: https://gerrit.libreoffice.org/12525 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-28Revert some changes that affected the bean/com/sun/star/comp APINoel Grandin4-11/+11
from commits 8583da1e934a49791ef8d86668f3d5c3c5dae1d7 "java: remove unused fields" 68cd011c907d00493bf2bfde531c1e244819596b "java: reduce scope, make some methods private" da677dfd59c2b551f3335ee0a5d5dfb33f9869c5 "java: reduce scope, make fields private" e701b3f732fa7f70cb273183e9ae8dbfd840f5e4 "java: reduce scope, make constants private" Change-Id: I7fe0381c0e17b41bad2e4256c5511fe1f7863498
2014-10-25java: prevent overflow by using 'long int' arithmetic in multiplicationRobert Antoni Buj i Gelonch1-1/+1
Change-Id: I8dda8f4621f265208c713c9edcfe725f1c9c5998 Reviewed-on: https://gerrit.libreoffice.org/12001 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-17java: when rethrowing exceptions, store the originalNoel Grandin1-15/+17
Change-Id: I8a2a264597d0b1ae06b08136fea36003682380b5
2014-10-17java: no need to call String.valueOf to append to a StringNoel Grandin1-1/+1
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
2014-10-16java: when rethrowing, store the original exceptionNoel Grandin3-50/+66
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
2014-10-11bean: String comparisonRobert Antoni Buj i Gelonch1-1/+1
Change-Id: Id2449ac887c92f87deb3b871b178ac16d3d6b4b8 Reviewed-on: https://gerrit.libreoffice.org/11922 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-10bean: Use com.sun.star.uno.RuntimeException(Throwable thrwbl)Robert Antoni Buj i Gelonch1-9/+3
Change-Id: I6677072c349fc8c1997030b78fa38a5d78aec361 Reviewed-on: https://gerrit.libreoffice.org/11889 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-08We should know what our name isTor Lillqvist1-1/+1
Change-Id: I4e4d9c9aea5bb9387dbb2e69d94c48f4988c3346
2014-10-07java: remove some unnecessary intermediary object creationNoel Grandin1-3/+2
Change-Id: Id4949fa08546e710fbf9bd0c7e3bf62979f29c83
2014-09-30[API CHANGE] OfficeBean: remove deprecated com.sun.star.beans classesStephan Bergmann9-1266/+0
<https://wiki.openoffice.org/wiki/Documentation/DevGuide/JavaBean/The_Internal_Office_Bean_API>: "Prior to OpenOffice.org 2.0 all Office Bean classes were in the com.sun.star.bean package. As of OpenOffice.org 2.0 the classes are contained in the com.sun.star.comp.bean package. The classes of the com.sun.star.bean package are still contained in the officebean.jar but they are deprecated. Further development and bug fixing will occur only in the com.sun.star.comp.bean package." Change-Id: I9421bfba941d9801a5cf8886ca971275740d178a
2014-09-25java: when rethrowing exceptions, store the original causeNoel Grandin2-2/+2
so that we get a nice complete stacktrace when it hits the final handler Change-Id: Iec4fcc15a2a25c55f591b5e069dce3d010197a90
2014-09-17bean: unchecked call to getMethod() as a member of the raw type ClassRobert Antoni Buj i Gelonch1-1/+1
http://docs.oracle.com/javase/tutorial/reflect/class/classTrouble.html Change-Id: Ib548b47c412394e1518fea42b83d05a36c1655c8 Reviewed-on: https://gerrit.libreoffice.org/11477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-17bean: Array concatenated with a StringRobert Antoni Buj i Gelonch2-2/+4
http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Arrays.html#toString(java.lang.Object[]) Change-Id: I42090bf534a9a59fa97061ec2855f79328b1dd45 Reviewed-on: https://gerrit.libreoffice.org/11478 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-17bean: encode(String) in URLEncoder has been deprecatedRobert Antoni Buj i Gelonch1-7/+26
Change-Id: Ife3eaaaad199e79aeb6886a146324ffb145c7bc3 Reviewed-on: https://gerrit.libreoffice.org/11476 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-16Revert bean part of "java: remove dead methods"Stephan Bergmann10-7/+363
...34bcf9b498bccb5c924f4cec850ff15d88df6f07; bean is a client API, not dead code. Change-Id: Iea17b6306152b9a4f2968bed550a44917803d9ec
2014-09-16bean: encode(String) in URLEncoder has been deprecatedrbuj1-8/+27
Change-Id: Ib2be5d3369d6568056d47ad1da59bfa08c8ecd77 Reviewed-on: https://gerrit.libreoffice.org/11442 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-15bean: use a non-varargs call for a stopOOoConnection method invocationrbuj1-1/+1
Change-Id: I589436be7d28b50b0b900a314b300d382eac5eb8 Reviewed-on: https://gerrit.libreoffice.org/11445 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-10bean: Boolean Parsingrbuj1-1/+1
Change-Id: If5e77da2b42b126e2c8fd7613b6adaed635fd683 Reviewed-on: https://gerrit.libreoffice.org/11364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-08set names on some Java threadsMichael Stahl4-2/+6
Change-Id: I611821d5f84b440ba542a8d62a374df7b505de15
2014-08-20java: remove modifiers implied by the contextNoel Grandin2-6/+6
found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
2014-08-20java: avoid unnecessary comparisons in boolean expressionsNoel Grandin3-4/+4
i.e. stuff like "x == true" Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
2014-08-20remove some dead Java codeNoel Grandin2-6/+0
Change-Id: I03dc362f7302ac8539a4da3dcef9466a7c6d7159
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin1-1/+1
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin2-4/+4
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin1-1/+1
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin2-3/+3
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin3-16/+16
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19java: remove unused methodsNoel Grandin1-65/+0
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
2014-08-14java: remove unused importsNoel Grandin4-7/+0
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14java: remove commented out codeNoel Grandin4-4/+0
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13java: remove dead methodsNoel Grandin10-292/+7
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
2014-08-13java: remove unused fieldsNoel Grandin1-1/+1
found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
2014-08-13java: reduce scope, make some methods privateNoel Grandin4-7/+7
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make member classes privateNoel Grandin2-3/+3
found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
2014-08-13java: reduce scope, make fields privateNoel Grandin7-17/+17
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-13java: reduce scope, make constructors privateNoel Grandin3-3/+3
found by UCDetector Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
2014-08-12java: reduce scope, make constants privateNoel Grandin2-3/+3
found by UCDetector Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57
2014-08-12java: fix broken javadoc tagsNoel Grandin2-4/+1
Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b