Skip to content

Commit

Permalink
Merge else if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadeeshan96 committed Dec 20, 2023
1 parent 75b0c71 commit a3ee046
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -818,10 +818,8 @@ private boolean listenerDeclarationFound(BPackageSymbol packageSymbol) {
return true;
}
}
} else {
if (packageSymbol.bir.isListenerAvailable) {
return true;
}
} else if (packageSymbol.bir.isListenerAvailable) {
return true;
}
for (BPackageSymbol importPkgSymbol : packageSymbol.imports) {
if (importPkgSymbol != null && listenerDeclarationFound(importPkgSymbol)) {
Expand Down

0 comments on commit a3ee046

Please sign in to comment.