-
Notifications
You must be signed in to change notification settings - Fork 6
Reformat; add .editorconfig #25
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
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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.