@Test public void calculateCorrectSymbolicNameTest() throws Exception { assertTrue(WebBundleUtils.calculateCorrectSymbolicName("").equals("")); assertTrue(WebBundleUtils.calculateCorrectSymbolicName(null).equals("")); assertTrue(WebBundleUtils.calculateCorrectSymbolicName("a._-1 %$#~") .equals("a._-1.....")); }
public static String calculateCorrectSymbolicName(String originalName) { if (originalName != null) { return replaceForbiddenChars(originalName, '.'); } else { return ""; } }
WebBundleUtils { public static String calculateCorrectSymbolicName(String originalName) { if (originalName != null) { return replaceForbiddenChars(originalName, '.'); } else { return ""; } } }
WebBundleUtils { public static String calculateCorrectSymbolicName(String originalName) { if (originalName != null) { return replaceForbiddenChars(originalName, '.'); } else { return ""; } }  }
WebBundleUtils { public static String calculateCorrectSymbolicName(String originalName) { if (originalName != null) { return replaceForbiddenChars(originalName, '.'); } else { return ""; } }  static boolean isWebApplicationBundle(BundleManifest manifest); static String calculateCorrectSymbolicName(String originalName); }
WebBundleUtils { public static String calculateCorrectSymbolicName(String originalName) { if (originalName != null) { return replaceForbiddenChars(originalName, '.'); } else { return ""; } }  static boolean isWebApplicationBundle(BundleManifest manifest); static String calculateCorrectSymbolicName(String originalName);  }