Hi Jiri,
the changes look good.
If you open a file in your editor you can also reformat the code to
adhere to current coding guidelines (brackets come into my mind).
For the remaining warning: We will also change the libraries (at least
to newer versions) so perhaps some warnings will perhaps vanish...
Great work
Uwe
On 07.11.18 02:33, Jiri Peinlich wrote:
> I was able to reduce the amount of warnings -Xlint:deprication and
> -Xlint:unchecked produces down to 10 when build with jdk8 and 11 when
> build with jdk 11. Apart from the last few collections I introduced
> Generic type into all the collections used around the project and I
> removed the autoboxing and creating new instances for numbers. The
> aditionall warning in jdk 11 is comming from deprecated method that
> got a replacement only in jdk10 and so I cannot use it under jdk8 build.
>
> To deal with the last 10 warnings:
>
> * some of them are creating of arrays of collections. I think we
> should replace the arrays with collections to remove the warnings.
> * There are few warnings around the SVGUtils.java lists and maps. It
> was not trivial to add the generic types to those collections
> because they are used differently up and down the chain of calls.
>
> On some places I had to generify the collection with Object class. I
> did not find a better way, and tried to put a todo around those places
> for future improvements.
>
> It would be nice if you could go throw the changes and review them,
> thanks.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "jDip Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
jdip-develope...@googlegroups.com
> <mailto:
jdip-develope...@googlegroups.com>.
>
https://groups.google.com/d/msgid/jdip-developers/576e274c-660b-4ae9-9661-d599bec22ca2%40googlegroups.com
> <
https://groups.google.com/d/msgid/jdip-developers/576e274c-660b-4ae9-9661-d599bec22ca2%40googlegroups.com?utm_medium=email&utm_source=footer>.