Fix incorrect invocation of getTestFilesToProcess for 2.12 …
PR #28 (which fixes #22) was fixed the issue for the code in 2.10 and 2.11,
but when 2.12 was added in 94d5ecc the fix
wasn't present.
checkFiles was returning a Scala List, and ScalaStyleTask was attempting
to call addAll on this, which isn't valid. This commit changes the method
to return a mutable Java list, which works.
This includes two fixes:
Fix incorrect invocation of getTestFilesToProcess for 2.12 … PR #28 (which fixes #22) was fixed the issue for the code in 2.10 and 2.11, but when 2.12 was added in 94d5ecc the fix wasn't present.
checkFiles was returning a Scala List, and ScalaStyleTask was attempting to call addAll on this, which isn't valid. This commit changes the method to return a mutable Java list, which works.