From 85871a17e23eb461cfcd21cfc7ae0b9303ba257d Mon Sep 17 00:00:00 2001 From: Nikola Genov Date: Wed, 26 Oct 2022 14:15:05 +0300 Subject: [PATCH] Code review changes Signed-off-by: Nikola Genov --- examples/src/main/java/AccountCreateWithHtsExample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/main/java/AccountCreateWithHtsExample.java b/examples/src/main/java/AccountCreateWithHtsExample.java index cdb0d094f..4b04acbde 100644 --- a/examples/src/main/java/AccountCreateWithHtsExample.java +++ b/examples/src/main/java/AccountCreateWithHtsExample.java @@ -149,7 +149,7 @@ public static void main(String[] args) throws NullPointerException, PrecheckStat System.out.println("The normal account ID of the given alias: " + accountId); - if (nftOwnerAccountId == accountId) + if (nftOwnerAccountId.equals(accountId)) System.out.println("The NFT owner accountId matches the accountId created with the HTS"); else System.out.println("The two account IDs does not match");