@Test public void testClean() { String s = "abc"; Assert.assertTrue(s.equals(TopicCleaner.clean(s))); s = "$abc"; Assert.assertTrue("_DLR_abc".equals(TopicCleaner.clean(s))); }
public static String clean(String topic) { return topic.replace("$", "_DLR_"); }
TopicCleaner { public static String clean(String topic) { return topic.replace("$", "_DLR_"); } }
TopicCleaner { public static String clean(String topic) { return topic.replace("$", "_DLR_"); }  }
TopicCleaner { public static String clean(String topic) { return topic.replace("$", "_DLR_"); }  static String clean(String topic); }
TopicCleaner { public static String clean(String topic) { return topic.replace("$", "_DLR_"); }  static String clean(String topic);  }