From 2d296b2a4ea271f3a3aeac02e30a16fe6a5f2f81 Mon Sep 17 00:00:00 2001 From: gvictor <35373048+gvictor@users.noreply.github.com> Date: Fri, 4 Apr 2025 16:54:11 +0100 Subject: [PATCH] Update icu4j/main/translit/src/main/java/com/ibm/icu/text/TransliteratorRegistry.java Co-authored-by: Mihai Nita --- .../main/java/com/ibm/icu/text/TransliteratorRegistry.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/icu4j/main/translit/src/main/java/com/ibm/icu/text/TransliteratorRegistry.java b/icu4j/main/translit/src/main/java/com/ibm/icu/text/TransliteratorRegistry.java index aa6b9761ffd..aa5509503a9 100644 --- a/icu4j/main/translit/src/main/java/com/ibm/icu/text/TransliteratorRegistry.java +++ b/icu4j/main/translit/src/main/java/com/ibm/icu/text/TransliteratorRegistry.java @@ -247,9 +247,8 @@ class TransliteratorRegistry { return resource; } - String str = resourceSupplier.get(); - resource = str; - return str; + resource = resourceSupplier.get(); + return resource; } } }