Merged
Conversation
Consistently make indentation 4 for all Java sources with spaces. Most files were already using indentation of 4, but with mixes of tabs and spaces.
There was a problem hiding this comment.
Pull request overview
This PR standardizes indentation across all Java source files by reformatting them to use 4 spaces consistently, replacing the previous mix of tabs and spaces. An .editorconfig file has been added to enforce these formatting standards going forward.
Key Changes
- Reformatted all Java files to use 4-space indentation instead of mixed tabs/spaces
- Added
.editorconfigfile to maintain consistent formatting standards - Minor adjustments to comment formatting and spacing for consistency
Reviewed changes
Copilot reviewed 18 out of 24 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| .editorconfig | Adds EditorConfig configuration file specifying 4-space indentation, UTF-8 encoding, and trailing whitespace rules for Java files |
| CQLParserTest.java | Reformatted from mixed tabs/spaces to 4-space indentation; improved comment spacing |
| XCQLBuilder.java | Reformatted to 4-space indentation throughout |
| PQFTranslationException.java | Changed from tab to 4-space indentation |
| MissingParameterException.java | Reformatted to 4 spaces; improved JavaDoc formatting with proper asterisk alignment |
| CQLTokenizer.java | Reformatted to 4 spaces; improved comment alignment and JavaDoc formatting |
| CQLTermNode.java | Reformatted to 4 spaces; improved multi-line comment formatting |
| CQLSortNode.java | Reformatted from tabs to 4 spaces; improved trailing whitespace handling |
| CQLRelation.java | Reformatted to 4 spaces; improved JavaDoc parameter alignment |
| CQLProxNode.java | Reformatted to 4 spaces; removed extraneous blank lines |
| CQLPrefixNode.java | Reformatted to 4 spaces; improved ternary operator formatting |
| CQLPrefix.java | Reformatted to 4 spaces; removed extraneous blank lines; improved period spacing in comments |
| CQLParser.java | Reformatted to 4 spaces; improved JavaDoc alignment and multi-line statement formatting |
| CQLParseException.java | Reformatted to 4 spaces; added blank line for better structure; removed trailing blank line |
| CQLOrNode.java | Reformatted from tabs to 4 spaces |
| CQLNotNode.java | Reformatted from tabs to 4 spaces; removed trailing spaces |
| CQLNodeVisitor.java | Reformatted to 4 spaces; removed trailing blank lines |
| CQLNode.java | Reformatted to 4 spaces; improved multi-line method signature and ternary operator formatting |
| CQLLexer.java | Reformatted to 4 spaces; improved switch statement and comment formatting |
| CQLGenerator.java | Reformatted to 4 spaces; improved switch statement, JavaDoc, and comment formatting |
| CQLDefaultNodeVisitor.java | Reformatted to 4 spaces; removed trailing blank lines |
| CQLBooleanNode.java | Reformatted to 4 spaces; improved JavaDoc and multi-line statement formatting |
| CQLBoolean.java | Reformatted from mixed indentation to 4 spaces |
| CQLAndNode.java | Reformatted to 4 spaces; removed extraneous blank line; improved JavaDoc parameter alignment |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 27 out of 32 changed files in this pull request and generated 10 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jakub-id
approved these changes
Dec 29, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Consistently make indentation 4 for all Java sources with spaces. Most files were already using indentation of 4, but with mixes of tabs and spaces.