Construct hashmap directly instead of using crazy groovy syntax

This commit is contained in:
Ryan Ernst 2016-07-25 17:17:12 -07:00
parent 0ecaa6ec3c
commit 0e6bdd025d
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class LicenseHeadersTask extends AntTask {
* Additional license families that may be found. The key is the license category name (5 characters),
* followed by the family name and the value list of patterns to search for.
*/
protected Map<String, String> additionalLicenses = [:]
protected Map<String, String> additionalLicenses = new HashMap<>()
LicenseHeadersTask() {
description = "Checks sources for missing, incorrect, or unacceptable license headers"