@Test public void noTrailingSlashForTrimming() { assertThat(SharedUtil.trimTrailingSlashes("/path"), is("/path")); }
public static String trimTrailingSlashes(String value) { return value.replaceAll("/*$", ""); }
SharedUtil implements Serializable { public static String trimTrailingSlashes(String value) { return value.replaceAll("/*$", ""); } }
SharedUtil implements Serializable { public static String trimTrailingSlashes(String value) { return value.replaceAll("/*$", ""); }  }
SharedUtil implements Serializable { public static String trimTrailingSlashes(String value) { return value.replaceAll("/*$", ""); }  static boolean equals(Object o1, Object o2); static String trimTrailingSlashes(String value); static String[] splitCamelCase(String camelCaseString); static String camelCaseToHumanFriendly(String camelCaseString); static String join(String[] parts, String separator); static String capitalize(String string); static String propertyIdToHumanFriendly(Object propertyId); static String addGetParameters(String uri, String extraParams); static String dashSeparatedToCamelCase(String dashSeparated); }
SharedUtil implements Serializable { public static String trimTrailingSlashes(String value) { return value.replaceAll("/*$", ""); }  static boolean equals(Object o1, Object o2); static String trimTrailingSlashes(String value); static String[] splitCamelCase(String camelCaseString); static String camelCaseToHumanFriendly(String camelCaseString); static String join(String[] parts, String separator); static String capitalize(String string); static String propertyIdToHumanFriendly(Object propertyId); static String addGetParameters(String uri, String extraParams); static String dashSeparatedToCamelCase(String dashSeparated); static final String SIZE_PATTERN; }