Remove use of Java 8-only String.join API.