From 6827b2bee4eeaeebeb8b36c7e197ac33f05ec63d Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Fri, 8 Mar 2024 10:37:47 +0800 Subject: [PATCH] 1. modify copyright year to 2024; 2. delete unmatch comment --- test/jdk/java/util/Properties/PropertiesStoreTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/jdk/java/util/Properties/PropertiesStoreTest.java b/test/jdk/java/util/Properties/PropertiesStoreTest.java index c2b5699bf1499..1041271ae818c 100644 --- a/test/jdk/java/util/Properties/PropertiesStoreTest.java +++ b/test/jdk/java/util/Properties/PropertiesStoreTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2024, 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 @@ -55,8 +55,6 @@ public class PropertiesStoreTest { private static final String DATE_FORMAT_PATTERN = "EEE MMM dd HH:mm:ss zzz uuuu"; - // use a neutral locale, since when the date comment was written by Properties.store(...), - // it internally calls the Date.toString() which always writes in a locale insensitive manner private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern(DATE_FORMAT_PATTERN, Locale.US); private static final Locale PREV_LOCALE = Locale.getDefault();