[PATCH] cleanup java code and update to Java5, including generics (36)
Noel Grandin
noelgrandin at gmail.com
Fri Jun 29 02:03:38 PDT 2012
Hi
This patch series primarily updates our java code to use the new
features in Java5, which means generics.
Along the way I also cleaned up some javadoc warnings, and a few other
things.
After this patch, "make check" no longer generates any warnings from the
java compiler about "unchecked conversions".
Because of the size of this patch series (3MB total), I have pushed the
files via YouSendIt links.
There is still quite a bit of cleanup work that should ideally be done
- removing commented out code,
- fixing the various formatting styles,
- cleanup dodgy javadoc
- move some files around so their package names match their directories
But I'll leave that for another day :-)
Regards, Noel Grandin
I've linked 36 files to this email:
0007-Java5-update-convert-collections-classes-to-use-gene.patch
<https://www.yousendit.com/download/QlVoVWRrdkdCSm8wTWRVag>(137
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdCSm8wTWRVag
0008-Java-cleanup-fix-javadoc-comments-and-invalid-tags.patch
<https://www.yousendit.com/download/QlVoVWRrdkdlcEtGa2RVag>(34.3
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdlcEtGa2RVag
0009-Java-cleanup-remove-unnecessary-casts.patch
<https://www.yousendit.com/download/QlVoVWRrdkdoeVlaQ2NUQw>(18.3
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdoeVlaQ2NUQw
0010-Java-cleanup-remove-redundant-superinterface-declara.patch
<https://www.yousendit.com/download/QlVoVWRrdkdoeVpOeDhUQw>(6.5
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdoeVpOeDhUQw
0011-Java5-update-convert-ArrayList-to-generics.patch
<https://www.yousendit.com/download/QlVoVWRrdkdqY28wTWNUQw>(1.8
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdqY28wTWNUQw
0012-Java-cleanup-remove-meaningless-comments.patch
<https://www.yousendit.com/download/QlVoVWRrdkdqY3JSc01UQw>(11.0
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdqY3JSc01UQw
0013-Java5-update-convert-Vector-to-ArrayList.patch
<https://www.yousendit.com/download/QlVoVWRrdkd3NUs1eDhUQw>(44.9
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkd3NUs1eDhUQw
0014-Java5-update-Convert-Hashtable-to-HashMap.patch
<https://www.yousendit.com/download/QlVoVWRrdkdOMUNjZDhUQw>(26.8
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdOMUNjZDhUQw
0015-Java5-update-usage-generics-where-possible.patch
<https://www.yousendit.com/download/QlVoVWRrdkdiV3h2Zk1UQw>(1.1
MB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdiV3h2Zk1UQw
0016-Java5-update-convert-more-code-to-use-generics-wq.patch
<https://www.yousendit.com/download/QlVoVWRrdkcwVWxnRXNUQw>(522
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkcwVWxnRXNUQw
0017-Java-remove-dead-equals-methods.patch
<https://www.yousendit.com/download/QlVoVWRrdkd6RTlEZU1UQw>(4.2
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkd6RTlEZU1UQw
0018-Java-cleanup-remove-unused-local-variables.patch
<https://www.yousendit.com/download/QlVoVWRrdkdwaFRSc01UQw>(184
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdwaFRSc01UQw
0019-Java5-update-convert-to-use-generics-and-new-Collect.patch
<https://www.yousendit.com/download/QlVoVWRrdkdlaFN4djlVag>(11.8
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdlaFN4djlVag
0020-Java5-update-convert-Vector-to-ArrayList-and-Enumera.patch
<https://www.yousendit.com/download/QlVoVWRrdkdoMlZDaDhUQw>(135
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdoMlZDaDhUQw
0021-Java5-update-convert-to-using-generics-where-feasibl.patch
<https://www.yousendit.com/download/QlVoVWRrdkdoMldxV2NUQw>(160
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdoMldxV2NUQw
0022-Java5-update-convert-code-to-use-generics.patch
<https://www.yousendit.com/download/QlVoVWRrdkcxUUNKUmNUQw>(27.9
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkcxUUNKUmNUQw
0023-Java5-update-convert-Vector-to-ArrayList-and-Enumera.patch
<https://www.yousendit.com/download/QlVoVWRrdkdvQnV5VmNUQw>(20.5
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdvQnV5VmNUQw
0024-Java5-update-convert-Hashtable-to-HashMap.patch
<https://www.yousendit.com/download/QlVoVWRrdkdvQnNUWThUQw>(3.8
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdvQnNUWThUQw
0025-Java5-update-convert-code-to-use-generics.patch
<https://www.yousendit.com/download/QlVoVWRrdkdreEJvZE1UQw>(47.4
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdreEJvZE1UQw
0026-Java-cleanup-fix-various-javadoc-issues.patch
<https://www.yousendit.com/download/QlVoVWRrdkdVVGt3anNUQw>(30.1
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdVVGt3anNUQw
0027-Java5-update-convert-Vector-to-ArrayList.patch
<https://www.yousendit.com/download/QlVoVWRrdkcyWGMwTWRVag>(2.7
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkcyWGMwTWRVag
0028-Java5-update-use-generics-in-code-and-general-cleanu.patch
<https://www.yousendit.com/download/QlVoVWRrdkcyWGYwZXNUQw>(10.0
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkcyWGYwZXNUQw
0029-Java5-update-use-generics-where-appropriate.patch
<https://www.yousendit.com/download/QlVoVWRrdkdCTWxFQmNUQw>(27.9
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdCTWxFQmNUQw
0030-Java5-update-convert-Vector-to-ArrayList.patch
<https://www.yousendit.com/download/QlVoVWRrdkd0d0c1eDhUQw>(10.0
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkd0d0c1eDhUQw
0031-Java5-update-convert-Hashtable-to-HashMap.patch
<https://www.yousendit.com/download/QlVoVWRrdkdFd2R3SGNUQw>(1.3
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdFd2R3SGNUQw
0032-Java5-update-use-generics-where-it-makes-sense.patch
<https://www.yousendit.com/download/QlVoVWRrdkdLVlZ1a3NUQw>(31.5
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdLVlZ1a3NUQw
0033-Java5-update-convert-Vector-to-ArrayList.patch
<https://www.yousendit.com/download/QlVoVWRrdkczeUtHR3NUQw>(1.4
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkczeUtHR3NUQw
0034-Java5-update-convert-to-use-generics.patch
<https://www.yousendit.com/download/QlVoVWRrdkdubVVkVU1UQw>(9.0
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdubVVkVU1UQw
0035-Java5-update-convert-to-use-generics.patch
<https://www.yousendit.com/download/QlVoVWRrdkc3bUFaQ2NUQw>(72.1
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkc3bUFaQ2NUQw
0036-Java5-updates-update-code-to-use-generics.patch
<https://www.yousendit.com/download/QlVoVWRrdkdBNkV3anNUQw>(83.8
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdBNkV3anNUQw
0001-Fix-java-unchecked-conversion-warnings.patch
<https://www.yousendit.com/download/QlVoVWRrdkdBNkZFQmRVag>(3.7
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdBNkZFQmRVag
0002-Fix-java-unchecked-conversion-warning-in-UCB-module.patch
<https://www.yousendit.com/download/QlVoVWRrdkdrWThLSk1UQw>(1.0
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdrWThLSk1UQw
0003-Convert-Java-code-in-reportbuilder-to-use-Java5-gene.patch
<https://www.yousendit.com/download/QlVoVWRrdkdlM1R2WnRVag>(90.5
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdlM1R2WnRVag
0004-Convert-code-to-Java5-generics-in-dbaccess-module.patch
<https://www.yousendit.com/download/QlVoVWRrdkdZY1RSc01UQw>(6.6
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkdZY1RSc01UQw
0005-Updating-to-Java5-convert-Vector-to-ArrayList.patch
<https://www.yousendit.com/download/QlVoVWRrdkd0QTBkVU1UQw>(81.3
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkd0QTBkVU1UQw
0006-Java5-update-convert-Hashtable-to-HashMap.patch
<https://www.yousendit.com/download/QlVoVWRrdkd0QTFFQmNUQw>(10.2
kB)YouSendIt
<https://www.yousendit.com>https://www.yousendit.com/download/QlVoVWRrdkd0QTFFQmNUQw
Mozilla Thunderbird <http://www.getthunderbird.com> makes it easy to
share large files over email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120629/7898226d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attachment-24.png
Type: image/png
Size: 641 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120629/7898226d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yousendit.png
Type: image/png
Size: 403 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120629/7898226d/attachment-0003.png>
More information about the LibreOffice
mailing list