Affects Version/s: None
Fix Version/s: None
(Huge patch attached. Hopefully it can get reviewed/applied soon, before it becomes stale. Luckily the patch consists only of low-risk changes that shouldn't affect the logic functionality.)
Since the plugin now requires Java 5 anyways (
MINVOKER-111), might as well update the code to take advantage of better language features.
- Removed all unavoidable "raw type" warnings.
- Where possible/equivalent, converted Iterator-based loops to enhanced for loops.
- Removed unnecessary dependencies to Iterator.
- Removed unnecessary casts.
- Enabled "useJava5" parameter of modello-maven-plugin.
These changes should make it easier to maintain the code later.
|Field||Original Value||New Value|
|Assignee||Olivier Lamy [ olamy ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|
|Project Import||Sun Apr 05 10:28:53 UTC 2015 [ 1428229733495 ]|
|Workflow||jira [ 12721822 ]||Default workflow, editable Closed status [ 12762069 ]|
|Flags||Patch [ 10430 ]|
|Patch Submitted||Yes [ 10763 ]|
|Project Import||Mon Apr 06 00:02:09 UTC 2015 [ 1428278529346 ]|
|Workflow||jira [ 12959411 ]||Default workflow, editable Closed status [ 12996367 ]|