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

[Backport 2.x] [Spotless] Applying Google Code Format for core/src/main files #4 #1933 #1995

Merged
merged 5 commits into from
Aug 22, 2023

Conversation

MitchellGale
Copy link
Contributor

Description

This PR applies Spotless on Java code for:
'core/src/main/java/org/opensearch/sql/DataSourceSchemaName.java',
'core/src/test/java/org/opensearch/sql/data/.java',
'core/src/test/java/org/opensearch/sql/config/
.java',
'core/src/test/java/org/opensearch/sql/analysis/*.java'

Disables core checkstyle and enables spotless check for files that are fixed in this PR.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…ensearch-project#1933)

* GJF part 4

Signed-off-by: Mitchell Gale <[email protected]>

* add build.gradle comment to mention why we are ignoring checkstyle failures for core.

Signed-off-by: Mitchell Gale <[email protected]>

* Fix include spotless build gradle.

Signed-off-by: Mitchell Gale <[email protected]>

* revert astDSL.JAVA

Signed-off-by: Mitchell Gale <[email protected]>

* revert ast changes as was covered in spotless #1 PR for GJF.

Signed-off-by: Mitchell Gale <[email protected]>

* Reverting commits in ast folder attempt #2

Signed-off-by: Mitchell Gale <[email protected]>

* revert change to RaretopN.java

Signed-off-by: Mitchell Gale <[email protected]>

* addressed PR comments.

Signed-off-by: Mitchell Gale <[email protected]>

* Replacing removed include in spotless.

Signed-off-by: Mitchell Gale <[email protected]>

---------

Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
@codecov
Copy link

codecov bot commented Aug 18, 2023

Codecov Report

Merging #1995 (3e46513) into 2.x (9f081ab) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                2.x    #1995   +/-   ##
=========================================
  Coverage     97.42%   97.42%           
  Complexity     4646     4646           
=========================================
  Files           408      408           
  Lines         11525    11525           
  Branches        835      835           
=========================================
  Hits          11228    11228           
  Misses          290      290           
  Partials          7        7           
Flag Coverage Δ
sql-engine 97.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Signed-off-by: Mitchell Gale <[email protected]>
acarbonetto
acarbonetto previously approved these changes Aug 21, 2023
build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
Signed-off-by: Mitchell Gale <[email protected]>
core/build.gradle Outdated Show resolved Hide resolved
Signed-off-by: Mitchell Gale <[email protected]>
@Yury-Fridlyand
Copy link
Collaborator

Conflicts

@acarbonetto acarbonetto merged commit 3f7db81 into opensearch-project:2.x Aug 22, 2023
@acarbonetto acarbonetto deleted the backport2.x-1933 branch August 22, 2023 15:59
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.

3 participants