From 69fec4d47535b08e6eac3006ccd874f203b2e222 Mon Sep 17 00:00:00 2001 From: Vzor- Date: Mon, 9 Sep 2024 00:24:30 -0400 Subject: [PATCH] typo --- src/qz/ui/component/CertificateTable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qz/ui/component/CertificateTable.java b/src/qz/ui/component/CertificateTable.java index 2805a9d9..b64882d7 100644 --- a/src/qz/ui/component/CertificateTable.java +++ b/src/qz/ui/component/CertificateTable.java @@ -19,7 +19,7 @@ public class CertificateTable extends DisplayTable implements Themeable { private Certificate cert; - private static final TimeZone utcTimeZone = TimeZone.getTimeZone("UTC"); + private static final TimeZone UTC_TIME_ZONE = TimeZone.getTimeZone("UTC"); private Instant warn; private Instant now; private boolean useLocalTimezone = false; @@ -80,7 +80,7 @@ public void refreshComponents() { if(field.equals(Certificate.Field.TRUSTED) && !Certificate.isTrustBuiltIn()) { continue; // Remove "Verified by" text; uncertain in strict mode } - TimeZone timeZone = useLocalTimezone ? TimeZone.getDefault() : utcTimeZone; + TimeZone timeZone = useLocalTimezone ? TimeZone.getDefault() : UTC_TIME_ZONE; model.addRow(new Object[] {field, cert.get(field, timeZone)}); }