Maps.newHashMap() was replaced with null in numerous locations. A null check is performed in the locations that read this value. This prevents unnecessary allocation of memory and fixes compiler errors.
"final" keyword added to RepeatEachEffect, which used local variables in non-local scope.
Before this patch, the code would try to pay the mana symbols as they appear - for example if you convoke with a white creature and click "white" in the dialog, but the cost for the spell is "1WW", it would actually use that white mana to pay for the "1" portion of the cost, leaving "WW" to be paid (which is problematic if you have a swamp and a plains untapped which you were planning to use in addition to the white creature).
This change moves the logic for paying the cost from the UI code to the engine code (and re-uses existing code there) and also adds some unit tests for it.
- moving mobile source and resource files to adhere to the maven conventions
- clean up of the poms
- regenerated the eclipse project files with mvn eclipse:eclipse to put them inline with the modifications of the poms
- adding structure of the bundle module