blackears / svgSalamander

158 stars 57 forks source link

Upgrade to Java 5 #5

Closed don-vip closed 8 years ago

don-vip commented 8 years ago

Code is easier to understand with generics, enhanced "for" loops and @Override annotations.

blackears commented 8 years ago

Merged changes.

don-vip commented 8 years ago

thank you! Do you know what are the minimal Java requirements of main downstream projects using svgSalamander? We (JOSM) require Java 8, so I wonder if I can provide more patches to update the code base to Java 6, 7 or even 8 without impacting negatively other projects.

blackears commented 8 years ago

My understanding is that each Java release is backwards compatible with all previous releases. So Java 5 code should work with JVM 6, 7, 8, etc both as a binary and as source.

The previous version 4 code would have been compatible too - I just removed a few classes that were made redundant by the JVM 5 API.