From 06aeede864242e3652fe10b0c69a739a4c926d1d Mon Sep 17 00:00:00 2001 From: veyndan Date: Fri, 24 Mar 2017 04:30:08 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20unused=20method=20implode(=E2=80=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/fr/free/nrw/commons/Utils.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/src/main/java/fr/free/nrw/commons/Utils.java b/app/src/main/java/fr/free/nrw/commons/Utils.java index 9d93a8834..2a929af6b 100644 --- a/app/src/main/java/fr/free/nrw/commons/Utils.java +++ b/app/src/main/java/fr/free/nrw/commons/Utils.java @@ -251,20 +251,6 @@ public class Utils { throw new RuntimeException("Unrecognized license value"); } - public static String implode(String glue, Iterable pieces) { - StringBuffer buffer = new StringBuffer(); - boolean first = true; - for (String piece : pieces) { - if (first) { - first = false; - } else { - buffer.append(glue); - } - buffer.append(pieces); - } - return buffer.toString(); - } - public static Uri uriForWikiPage(String name) { String underscored = name.trim().replace(" ", "_"); String uriStr = CommonsApplication.HOME_URL + urlEncode(underscored);