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

chore: update java template license header year #1917

Merged
merged 4 commits into from
Jan 19, 2024

Conversation

diegomarquezp
Copy link
Contributor

No description provided.

@diegomarquezp diegomarquezp requested a review from a team as a code owner January 18, 2024 18:32
@diegomarquezp diegomarquezp requested review from chingor13, bcoe and a team as code owners January 18, 2024 19:09
@suztomo suztomo changed the title chore: update java template's license header year chore: update java golden file license header year Jan 18, 2024
@suztomo suztomo changed the title chore: update java golden file license header year chore: update java template license header year Jan 18, 2024
@@ -29,7 +29,7 @@
JAR_DOWNLOAD_URL = "https://github.com/google/google-java-format/releases/download/google-java-format-{version}/google-java-format-{version}-all-deps.jar"
DEFAULT_FORMAT_VERSION = "1.7"
GOOD_LICENSE = """/*
* Copyright 2023 Google LLC
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make it a variable so it automatically updates to current year? The tests would automatically start failing in a new year, but I think it could be a better way to force us update the copyright in time. WDYT @suztomo ?

Copy link
Member

Choose a reason for hiding this comment

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

That's a good idea.

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 added a variable to compute the license year.

@diegomarquezp diegomarquezp merged commit 86b9411 into master Jan 19, 2024
12 checks passed
@diegomarquezp diegomarquezp deleted the diegomarquezp-patch-1 branch January 19, 2024 19:29
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.

5 participants