@Test public void toArrayOfPaths() { String result = MavenUtils.getArray(ImmutableList.of("/foo")); assertThat(result).isEqualTo("/foo"); result = MavenUtils.getArray(ImmutableList.of("/foo", "bar/baz")); assertThat(result).isEqualTo("/foo,bar/baz"); }
protected static String getArray(List<String> paths) { StringBuilder builder = new StringBuilder(); for (String s : paths) { if (builder.length() == 0) { builder.append(s); } else { builder.append(",").append(s); } } return builder.toString(); }
MavenUtils { protected static String getArray(List<String> paths) { StringBuilder builder = new StringBuilder(); for (String s : paths) { if (builder.length() == 0) { builder.append(s); } else { builder.append(",").append(s); } } return builder.toString(); } }
MavenUtils { protected static String getArray(List<String> paths) { StringBuilder builder = new StringBuilder(); for (String s : paths) { if (builder.length() == 0) { builder.append(s); } else { builder.append(",").append(s); } } return builder.toString(); }  }
MavenUtils { protected static String getArray(List<String> paths) { StringBuilder builder = new StringBuilder(); for (String s : paths) { if (builder.length() == 0) { builder.append(s); } else { builder.append(",").append(s); } } return builder.toString(); }  static Properties getDefaultProperties(MavenProject currentProject); }
MavenUtils { protected static String getArray(List<String> paths) { StringBuilder builder = new StringBuilder(); for (String s : paths) { if (builder.length() == 0) { builder.append(s); } else { builder.append(",").append(s); } } return builder.toString(); }  static Properties getDefaultProperties(MavenProject currentProject); static final String MAVEN_SYMBOLICNAME; }