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

[Spotless] Applying Google Code Format for core/src/main files #4 #1933

Merged

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.

MitchellGale and others added 8 commits August 2, 2023 10:23
Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
[Spotless] Applying Google Code Format for core/src/main files #4
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #1933 (dae1da3) into main (9914580) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #1933   +/-   ##
=========================================
  Coverage     97.51%   97.51%           
  Complexity     4658     4658           
=========================================
  Files           408      408           
  Lines         11930    11930           
  Branches        832      832           
=========================================
  Hits          11633    11633           
  Misses          290      290           
  Partials          7        7           
Flag Coverage Δ
sql-engine 97.51% <ø> (ø)

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

GumpacG
GumpacG previously approved these changes Aug 4, 2023
acarbonetto
acarbonetto previously approved these changes Aug 4, 2023
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 5, 2023
build.gradle Outdated Show resolved Hide resolved
Signed-off-by: Mitchell Gale <[email protected]>
GumpacG
GumpacG previously approved these changes Aug 8, 2023
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 8, 2023
@Yury-Fridlyand Yury-Fridlyand merged commit 63b00ba into opensearch-project:main Aug 9, 2023
13 of 15 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the integ/sl_GoogleJavaFormat4 branch August 9, 2023 22:03
MitchellGale added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Aug 14, 2023
…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]>
Signed-off-by: Mitchell Gale <[email protected]>
MitchellGale added a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Aug 18, 2023
…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]>
acarbonetto pushed a commit that referenced this pull request Aug 22, 2023
…in files #4 #1933 (#1995)

* [Spotless] Applying Google Code Format for core/src/main files #4  (#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]>

* spotless apply

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

* addressed PR comments

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

* remove pitest

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

---------

Signed-off-by: Mitchell Gale <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
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.

4 participants