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

[jvm-packages] update checkstyle #7335

Merged
merged 2 commits into from
Oct 18, 2021
Merged

Conversation

wbo4958
Copy link
Contributor

@wbo4958 wbo4958 commented Oct 18, 2021

  1. bump scalastyle-maven-plugin and maven-checkstyle-plugin to latest
  2. remove unused imports

This PR tries to fix the issue can't change the modification year in header

1. bump scalastyle-maven-plugin and maven-checkstyle-plugin to latest
2. remove unused imports
@wbo4958
Copy link
Contributor Author

wbo4958 commented Oct 18, 2021

@trivialfis Please help to review it.

Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

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

Thanks for updating the linter. One minor issue around the year specification.

@@ -1,5 +1,5 @@
/*
Copyright (c) 2014 by Contributors
Copyright (c) 2014,2021 by Contributors
Copy link
Member

Choose a reason for hiding this comment

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

Should we use 2014-2021 instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so, 2014-2021 means we may had changed this file in 2015, but actually we didn't.

Copy link
Member

Choose a reason for hiding this comment

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

Got it. Not familiar with legal terms. Just looked into cuml as an example ...

@trivialfis trivialfis merged commit 4fd149b into dmlc:master Oct 18, 2021
@wbo4958 wbo4958 deleted the scala-check branch October 18, 2021 13:28
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.

2 participants