@Test public void testRemoveQuotes_expected() throws Exception { assertEquals("abc", removeFirstAndLastChar("\"abc\"")); }
public static String removeFirstAndLastChar(String text) { Preconditions.checkNotNull(text, "text can not be null"); int n = text.length(); return text.substring(1, n - 1); }
Util { public static String removeFirstAndLastChar(String text) { Preconditions.checkNotNull(text, "text can not be null"); int n = text.length(); return text.substring(1, n - 1); } }
Util { public static String removeFirstAndLastChar(String text) { Preconditions.checkNotNull(text, "text can not be null"); int n = text.length(); return text.substring(1, n - 1); } private  Util(); }
Util { public static String removeFirstAndLastChar(String text) { Preconditions.checkNotNull(text, "text can not be null"); int n = text.length(); return text.substring(1, n - 1); } private  Util(); static String removeFirstAndLastChar(String text); static String getFileName(String fullPath); }
Util { public static String removeFirstAndLastChar(String text) { Preconditions.checkNotNull(text, "text can not be null"); int n = text.length(); return text.substring(1, n - 1); } private  Util(); static String removeFirstAndLastChar(String text); static String getFileName(String fullPath); static final char QUOTE; }