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

SOLR-14920: Format code automatically and enforce it in Solr solrj/st… #713

Closed
wants to merge 1 commit into from

Conversation

ErickErickson
Copy link

…ream/io

https://issues.apache.org/jira/browse/SOLR-14920 for solrj/stream/io

I went over all the changes and fixed up what looked odd. All tests pass. I'll leave it to others to merge when the time is right.

NOTE: spotless.gradle will need to be resolved since I listed everything in solrj except stream/io in the targetExclude list. That should just be deleting the entire case though once all the other solrj code is checked in...

Copy link
Contributor

@dsmiley dsmiley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You added some files that should be removed.

I spot-checked some .java files and it looks much better. Clearly this particular package didn't adhere to the conventions most of the codebase uses and that which Google Java Format uses.

@@ -0,0 +1,3 @@
# Default ignored files
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not add such in a PR about indentation

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidentally added?

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidentally added?

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidentally added?

@risdenk
Copy link
Contributor

risdenk commented Feb 28, 2022

Thanks @ErickErickson! I can pull these specific changes into #706 to have it all in one commit at the end. I'll cherry pick these changes over.

@risdenk
Copy link
Contributor

risdenk commented Feb 28, 2022

Pulled the relevant changes into PR #706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants