<i18n dev> RFR: 6560981: (cal) unused local variables in GregorianCalendar, etc.

Justin Lu duke at openjdk.org
Thu Oct 6 21:38:48 UTC 2022


Problem: Unused variables in GregorianCalendar, JapaneseImperialCalendar, and Base Calendar.

Fix: Removed all unused variables in bug description except normalizedYear in JapaneseImpericalCalendar.getActualMaximum.() as there was no matching unused variable within that method.

Additionally removed realDayOfYear in GregorianCalendar.computeFields.() due to redundancy.

-------------

Commit messages:
 - Update copyright
 - Remove unusued/redundant code

Changes: https://git.openjdk.org/jdk/pull/10585/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10585&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6560981
  Stats: 9 lines in 3 files changed: 0 ins; 6 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/10585.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10585/head:pull/10585

PR: https://git.openjdk.org/jdk/pull/10585


More information about the i18n-dev mailing list