-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Prevent unnecessary optimisation of already optimised Range Index expressions #4882
Open
marmoure
wants to merge
12
commits into
eXist-db:develop
Choose a base branch
from
evolvedbinary:fix/3624
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
cd291db
Revert "Reworked Wolfs' comments"
adamretter 7fd183d
Revert "Proposed fix for #3624 NPE at org.exist.xquery.modules.range.…
adamretter c7b92aa
[bugfix] Add missing assertions to XQSuite test
adamretter 139496b
[cleanup] Members don't need to be 'protected' scope, change to 'priv…
adamretter 394f7f7
[cleanup] Constructor doesn't need to be public
adamretter 0ad30e4
[cleanup] Mark variables as 'final'
adamretter 7c0419c
[cleanup] Mark nullable members and function result as such
adamretter e5a855f
[doc] Add missing JavaDoc
adamretter b91357b
[bugfix] Fix NodePath#toString() invalidly reporting '//' as '///'
adamretter c423322
[cleanup] Make the name of the test suite recognisable from the XSuit…
adamretter d446c66
[bugfix] Check before optimizing innerExpr. No need to optimize if it…
marmoure 427c1d1
[bugfix] add missing dependency for Nullable expression
marmoure File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marmoure you may fix this Codacy issue by using a if /else block:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whilst the end result is the same. I am not sure this is the same intention, it was meant to be clear that we are replacing the
expression
. @reinhapa How strongly do you feel about this?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well I would like to somehow bring the total qualtiy issues down when they pop up as I think we should try to avoid new issues if possible...