From 780d72b743af9e0aebaa4264d59e83253facf7fb Mon Sep 17 00:00:00 2001 From: Neale Upstone Date: Thu, 28 Dec 2023 20:17:24 +0000 Subject: [PATCH] Polish: Address string concat within .append() issue in MockDaoStorage --- core/src/test/java/org/osaf/cosmo/dao/mock/MockDaoStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/osaf/cosmo/dao/mock/MockDaoStorage.java b/core/src/test/java/org/osaf/cosmo/dao/mock/MockDaoStorage.java index f672df5..964905d 100755 --- a/core/src/test/java/org/osaf/cosmo/dao/mock/MockDaoStorage.java +++ b/core/src/test/java/org/osaf/cosmo/dao/mock/MockDaoStorage.java @@ -224,7 +224,7 @@ public String getItemPath(Item item) { // hierarchy for (String part : hierarchy) - path.append("/" + part); + path.append('/').append(part); return path.toString(); }