summaryrefslogtreecommitdiffstats
path: root/bean
Commit message (Collapse)AuthorAgeFilesLines
* java: remove dead codeNoel Grandin2015-01-051-4/+0
| | | | | | found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
* Remove unnecessary bean/inc/comp_LocalOfficeWindow.hStephan Bergmann2015-01-024-36/+0
| | | | Change-Id: Ia3f5d11aace705f36016aabda7f325ba46aa8640
* java: these fields can be converted to local variablesNoel Grandin2014-12-191-6/+4
| | | | Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf
* java: reduce visibility of fields and methodsNoel Grandin2014-12-112-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>
* java: remove some unused local variablesNoel Grandin2014-12-051-2/+1
| | | | Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
* java: remove some unused fieldsNoel Grandin2014-12-051-10/+8
| | | | Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
* Deprecated com.sun.star.beans is goneStephan Bergmann2014-12-023-126/+0
| | | | Change-Id: Ifce16ea732dd79730bff7bfa6269bd8b1d8e8aa6
* java: fix some raw types warningsNoel Grandin2014-11-181-2/+2
| | | | Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
* java: make fields final where possibleNoel Grandin2014-11-185-14/+14
| | | | | | found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
* java: rather use @Deprecated annotationNoel Grandin2014-11-185-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>
* Revert some changes that affected the bean/com/sun/star/comp APINoel Grandin2014-10-284-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
* java: prevent overflow by using 'long int' arithmetic in multiplicationRobert Antoni Buj i Gelonch2014-10-251-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>
* java: when rethrowing exceptions, store the originalNoel Grandin2014-10-171-15/+17
| | | | Change-Id: I8a2a264597d0b1ae06b08136fea36003682380b5
* java: no need to call String.valueOf to append to a StringNoel Grandin2014-10-171-1/+1
| | | | Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
* java: when rethrowing, store the original exceptionNoel Grandin2014-10-163-50/+66
| | | | Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
* bean: String comparisonRobert Antoni Buj i Gelonch2014-10-111-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>
* bean: Use com.sun.star.uno.RuntimeException(Throwable thrwbl)Robert Antoni Buj i Gelonch2014-10-101-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>
* We should know what our name isTor Lillqvist2014-10-081-1/+1
| | | | Change-Id: I4e4d9c9aea5bb9387dbb2e69d94c48f4988c3346
* java: remove some unnecessary intermediary object creationNoel Grandin2014-10-071-3/+2
| | | | Change-Id: Id4949fa08546e710fbf9bd0c7e3bf62979f29c83
* [API CHANGE] OfficeBean: remove deprecated com.sun.star.beans classesStephan Bergmann2014-09-309-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
* java: when rethrowing exceptions, store the original causeNoel Grandin2014-09-252-2/+2
| | | | | | | so that we get a nice complete stacktrace when it hits the final handler Change-Id: Iec4fcc15a2a25c55f591b5e069dce3d010197a90
* bean: unchecked call to getMethod() as a member of the raw type ClassRobert Antoni Buj i Gelonch2014-09-171-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>
* bean: Array concatenated with a StringRobert Antoni Buj i Gelonch2014-09-172-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>
* bean: encode(String) in URLEncoder has been deprecatedRobert Antoni Buj i Gelonch2014-09-171-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>
* Revert bean part of "java: remove dead methods"Stephan Bergmann2014-09-1610-7/+363
| | | | | | | ...34bcf9b498bccb5c924f4cec850ff15d88df6f07; bean is a client API, not dead code. Change-Id: Iea17b6306152b9a4f2968bed550a44917803d9ec
* bean: encode(String) in URLEncoder has been deprecatedrbuj2014-09-161-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>
* bean: use a non-varargs call for a stopOOoConnection method invocationrbuj2014-09-151-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>
* bean: Boolean Parsingrbuj2014-09-101-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>
* set names on some Java threadsMichael Stahl2014-09-084-2/+6
| | | | Change-Id: I611821d5f84b440ba542a8d62a374df7b505de15
* java: remove modifiers implied by the contextNoel Grandin2014-08-202-6/+6
| | | | | | found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
* java: avoid unnecessary comparisons in boolean expressionsNoel Grandin2014-08-203-4/+4
| | | | | | i.e. stuff like "x == true" Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
* remove some dead Java codeNoel Grandin2014-08-202-6/+0
| | | | Change-Id: I03dc362f7302ac8539a4da3dcef9466a7c6d7159
* java: use 'Short.valueOf' instead of 'new Short'Noel Grandin2014-08-191-1/+1
| | | | Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
* java: use 'Long.valueOf' instead of 'new Long'Noel Grandin2014-08-192-4/+4
| | | | Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
* java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin2014-08-191-1/+1
| | | | Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
* java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin2014-08-192-3/+3
| | | | Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
* java: classes in java.lang package do not need to be fully qualifiedNoel Grandin2014-08-193-16/+16
| | | | Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
* java: remove unused methodsNoel Grandin2014-08-191-65/+0
| | | | Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
* java: remove unused importsNoel Grandin2014-08-144-7/+0
| | | | Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
* java: remove commented out codeNoel Grandin2014-08-144-4/+0
| | | | Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
* java: remove dead methodsNoel Grandin2014-08-1310-292/+7
| | | | | | found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
* java: remove unused fieldsNoel Grandin2014-08-131-1/+1
| | | | | | found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
* java: reduce scope, make some methods privateNoel Grandin2014-08-134-7/+7
| | | | | | found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
* java: reduce scope, make member classes privateNoel Grandin2014-08-132-3/+3
| | | | | | found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
* java: reduce scope, make fields privateNoel Grandin2014-08-137-17/+17
| | | | | | found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
* java: reduce scope, make constructors privateNoel Grandin2014-08-133-3/+3
| | | | | | found by UCDetector Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
* java: reduce scope, make constants privateNoel Grandin2014-08-122-3/+3
| | | | | | found by UCDetector Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57
* java: fix broken javadoc tagsNoel Grandin2014-08-122-4/+1
| | | | Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b
* java: remove useless javadoc tagsNoel Grandin2014-08-121-10/+0
| | | | | | that are not conveying any useful information Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
* java: add @Override annotation to overriding methodsNoel Grandin2014-08-128-0/+21
| | | | Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a