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

copyright template with inception year and current year not working #24

Open
FWiesner opened this issue Jan 14, 2021 · 0 comments
Open

Comments

@FWiesner
Copy link

I'm having this template:

/*
 * Copyright (c) 2020, YYYY, Oracle and/or its affiliates.
 */

running the repair task with year updates enabled on files that already have

/*
 * Copyright (c) 2020, 2021, Oracle and/or its affiliates.
 */

leads to

/*
 * Copyright (c) 2020, 2020, 2021  Oracle and/or its affiliates. All rights reserved.
 */

and I'm getting the warning Copyright year is wrong; is 021 , should be 2021

So, I have two issues:

  1. All rights reserved. should not be there
  2. The years are messed up
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

No branches or pull requests

1 participant