@Test public void testQuotePart() { assertEquals("toto_tutu_titi", StatsUtils.quotePart("toto.tutu:titi")); assertEquals("NULL", StatsUtils.quotePart(null)); }
public static String quotePart(final String name) { if (name == null) { return "NULL"; } return name.replaceAll("[^A-Za-z0-9_]", "_"); }
StatsUtils { public static String quotePart(final String name) { if (name == null) { return "NULL"; } return name.replaceAll("[^A-Za-z0-9_]", "_"); } }
StatsUtils { public static String quotePart(final String name) { if (name == null) { return "NULL"; } return name.replaceAll("[^A-Za-z0-9_]", "_"); } private  StatsUtils(); }
StatsUtils { public static String quotePart(final String name) { if (name == null) { return "NULL"; } return name.replaceAll("[^A-Za-z0-9_]", "_"); } private  StatsUtils(); static String quotePart(final String name); }
StatsUtils { public static String quotePart(final String name) { if (name == null) { return "NULL"; } return name.replaceAll("[^A-Za-z0-9_]", "_"); } private  StatsUtils(); static String quotePart(final String name);  }