@Test public void testEscapeSql() { Assert.assertEquals(StringEscapes.escapeSql("I've never been to Brooklyn"), "I''ve never been to Brooklyn"); }
public static String escapeSql(String x) { if (x==null) return null; return x.replaceAll("'", "''"); }
StringEscapes { public static String escapeSql(String x) { if (x==null) return null; return x.replaceAll("'", "''"); } }
StringEscapes { public static String escapeSql(String x) { if (x==null) return null; return x.replaceAll("'", "''"); }  }
StringEscapes { public static String escapeSql(String x) { if (x==null) return null; return x.replaceAll("'", "''"); }  static boolean isWrappedInDoubleQuotes(String s); static boolean isWrappedInSingleQuotes(String s); static boolean isWrappedInMatchingQuotes(String s); static String escapeUrlParam(String input); static String escapeHtmlFormUrl(String url); static String escapeSql(String x); }
StringEscapes { public static String escapeSql(String x) { if (x==null) return null; return x.replaceAll("'", "''"); }  static boolean isWrappedInDoubleQuotes(String s); static boolean isWrappedInSingleQuotes(String s); static boolean isWrappedInMatchingQuotes(String s); static String escapeUrlParam(String input); static String escapeHtmlFormUrl(String url); static String escapeSql(String x);  }