devonfw / sonar-devon4j-plugin

Plugin for SonarQube to validate devonfw architecture
Apache License 2.0
10 stars 16 forks source link

Fix for #118: Fixed NPE in SonarDevon4jPlugin class #120

Closed lmarniazman closed 3 years ago

lmarniazman commented 3 years ago

Fixes #118

Added an if-condition checking if the array fileList is null. If yes, it is not used to fill pluginList with values, instead an empty ArrayList is returned.

hohwille commented 3 years ago

I will merge this now, but my comments indicate that IMHO #118 is not properly fixed. We only prevent NPE now but the root of the problem is IMHO still present.