Skip to content

Commit

Permalink
1. modify copyright year to 2024; 2. delete unmatch comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sendaoYan committed Mar 8, 2024
1 parent 7d8c010 commit 6827b2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/jdk/java/util/Properties/PropertiesStoreTest.java
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 6827b2b

Please sign in to comment.