From 3148bca5ac4ac2b20372850089e96a66736b8098 Mon Sep 17 00:00:00 2001 From: Koda Date: Fri, 30 Jun 2017 06:17:37 +0900 Subject: [PATCH 1/2] Change StringJoinBuilder utility --- pom.xml | 2 +- .../project/common/util/StringJoinBuilder.java | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 973aad9..129c228 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.support-project common - 1.9.0 + 1.10.0-SNAPSHOT jar common diff --git a/src/main/java/org/support/project/common/util/StringJoinBuilder.java b/src/main/java/org/support/project/common/util/StringJoinBuilder.java index 394f9cd..ceca330 100644 --- a/src/main/java/org/support/project/common/util/StringJoinBuilder.java +++ b/src/main/java/org/support/project/common/util/StringJoinBuilder.java @@ -3,27 +3,27 @@ import java.util.ArrayList; import java.util.List; -public class StringJoinBuilder { +public class StringJoinBuilder { - private List params = new ArrayList<>(); + private List params = new ArrayList<>(); public StringJoinBuilder() { super(); } - public StringJoinBuilder(List params) { + public StringJoinBuilder(List params) { super(); this.params = params; } - public StringJoinBuilder(Object[] array) { + public StringJoinBuilder(T[] array) { super(); - for (Object o : array) { + for (T o : array) { params.add(o); } } - public StringJoinBuilder append(Object obj) { + public StringJoinBuilder append(T obj) { params.add(obj); return this; } @@ -31,7 +31,7 @@ public StringJoinBuilder append(Object obj) { public String join(String delimiter) { StringBuilder builder = new StringBuilder(); int count = 0; - for (Object object : params) { + for (T object : params) { if (count > 0) { builder.append(delimiter); } From 0468e461370b64b4dab4b197f15452fd100a7b5f Mon Sep 17 00:00:00 2001 From: Koda Date: Thu, 20 Jul 2017 08:10:40 +0900 Subject: [PATCH 2/2] Update version on pom.xml for Release v1.10.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 129c228..9f83e2f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.support-project common - 1.10.0-SNAPSHOT + 1.10.0 jar common