[PATCH] 8245694 : java.util.Properties.entrySet() does not override java.lang.Object methods
Julia Boes
julia.boes at oracle.com
Mon Jun 22 09:38:59 UTC 2020
Hi Yu,
> diff -r 216c6baa0564 -r 09736e9e4c38
> src/java.base/share/classes/java/util/Properties.java
> --- a/src/java.base/share/classes/java/util/Properties.java Sat Jun 20
> 15:11:19 2020 +0800
> +++ b/src/java.base/share/classes/java/util/Properties.java Sat Jun 20
> 22:27:57 2020 +0800
> @@ -1,5 +1,5 @@
> /*
> - * Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights
> reserved.
> + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
> * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
> *
> * This code is free software; you can redistribute it and/or modify it
> @@ -1405,6 +1405,21 @@
Looks good but for src/java.base/share/classes/java/util/Properties.java
the copyright line has to look as such:
+ * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights
The line contains the year when the file was added and the year when the
last change was made (if applicable). So for an existing file, you
change the ending copyright year. For a newly added file, only the
current year is listed. I hope this makes sense.
Cheers,
Julia
More information about the core-libs-dev
mailing list