Skip to content

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

@FWiesner

Description

@FWiesner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions