Skip to content

Commit

Permalink
Convert to IMPORT instead of PACKAGE
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Manuel Leflet Estrada <jleflete@redhat.com>
  • Loading branch information
jmle committed Nov 28, 2023
1 parent e79f657 commit 95eaa69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.idea/
.vscode/
.metadata/

org.eclipse.*
jdt.*
.log
.metadata/
2 changes: 1 addition & 1 deletion pkg/conversion/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 95eaa69

Please sign in to comment.