Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix obsolete null checks creating illegal state #3420

Merged
merged 1 commit into from
May 6, 2024

Conversation

awildturtok
Copy link
Collaborator

No description provided.

@awildturtok awildturtok requested a review from thoniTUB May 6, 2024 10:56
@@ -119,9 +119,11 @@ public boolean acceptEvent(Bucket bucket, int event) {
boolean consumed = false;

for (ConceptElement<?> ce : concepts) {
if ((mostSpecificChildren != null && ce.matchesPrefix(mostSpecificChildren)) || ce.getConcept() == ce) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

der check auf die Wurzel hat implizit die condition übergangen. Zusätzlich kann mostSpecificChildren nicht null sein

@awildturtok awildturtok merged commit 01734d5 into develop May 6, 2024
6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/connector-condition-count-faulty branch May 6, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants