diff --git a/.gitignore b/.gitignore index 3eefbba..2b8e8a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ +.idea/ .vscode/ +.metadata/ + org.eclipse.* jdt.* .log -.metadata/ diff --git a/pkg/conversion/convert.go b/pkg/conversion/convert.go index 7825ef4..25117a0 100644 --- a/pkg/conversion/convert.go +++ b/pkg/conversion/convert.go @@ -435,7 +435,7 @@ func convertWindupWhenToAnalyzer(windupWhen windup.When, where map[string]string if lastVerb != "" && unicode.IsLower(rune(lastVerb[0])) && uppercaseExists(lastVerb[1:]) { locations = append(locations, "METHOD_CALL") } else { - locations = append(locations, "PACKAGE") + locations = append(locations, "IMPORT") } jc.Location = locations }