Skip to content

Commit

Permalink
ICU-22721 Fix trivial slip-up in ICU4J TimeZone.java
Browse files Browse the repository at this point in the history
  • Loading branch information
rqu authored and markusicu committed Sep 19, 2024
1 parent 55c5895 commit e3e74bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ public static String getCanonicalID(String id, boolean[] isSystemID) {
*/
public static String getIanaID(String id) {
String ianaId = TimeZone.UNKNOWN_ZONE_ID;
if (id == null || id.length() == 0 || id.equals(TimeZone.UNKNOWN_ZONE)) {
if (id == null || id.length() == 0 || id.equals(TimeZone.UNKNOWN_ZONE_ID)) {
return ianaId;
}
String tmpIanaId = ZoneMeta.getIanaID(id);
Expand Down

0 comments on commit e3e74bd

Please sign in to comment.