Skip to content

Commit

Permalink
8296140: Drop unused field java.util.Calendar.DATE_MASK
Browse files Browse the repository at this point in the history
Reviewed-by: naoto
  • Loading branch information
Andrey Turbanov committed Nov 9, 2022
1 parent fd83764 commit 82cbfb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/java.base/share/classes/java/util/Calendar.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022, 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 @@ -1016,7 +1016,6 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
static final int WEEK_OF_YEAR_MASK = (1 << WEEK_OF_YEAR);
static final int WEEK_OF_MONTH_MASK = (1 << WEEK_OF_MONTH);
static final int DAY_OF_MONTH_MASK = (1 << DAY_OF_MONTH);
static final int DATE_MASK = DAY_OF_MONTH_MASK;
static final int DAY_OF_YEAR_MASK = (1 << DAY_OF_YEAR);
static final int DAY_OF_WEEK_MASK = (1 << DAY_OF_WEEK);
static final int DAY_OF_WEEK_IN_MONTH_MASK = (1 << DAY_OF_WEEK_IN_MONTH);
Expand Down

1 comment on commit 82cbfb5

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.