Skip to content

Conversation

@xterao
Copy link
Collaborator

@xterao xterao commented Mar 7, 2025

Description

Fixed an issue where changing an element name in the for directive did not result in an error for bind variables that use that element in a block.

Specifically, the following issues were fixed:

  • Added a flag to inspect the entire file every time a change is made within the file.

  • Fixed to prevent NPE from occurring in subsequent processing if there are no elements in the file.

  • Fixed a problem where code inspection for SQL injected into SQL annotations in Java files did not work when runForWholeFile() was added, so child elements of PsiLiteralExpression are revisited.

@xterao xterao added the bug Something isn't working label Mar 7, 2025
@xterao xterao self-assigned this Mar 7, 2025
@github-actions github-actions bot added the fix Bug fixes label Mar 7, 2025
@github-actions
Copy link

github-actions bot commented Mar 7, 2025

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

@xterao xterao changed the title Fix: Added a flag to run code inspections across files when modifying… Fix: Reference checks for repeated elements in the for directive do not work correctly Mar 10, 2025
@xterao xterao force-pushed the fix/reference-checks-for-repeated-elements-for-directive branch from deb24b9 to 0e84e25 Compare March 10, 2025 04:26
@xterao xterao merged commit d7e22b7 into main Mar 10, 2025
7 checks passed
@xterao xterao deleted the fix/reference-checks-for-repeated-elements-for-directive branch March 10, 2025 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix Bug fixes

Projects

None yet

2 participants