Skip to content

Commit

Permalink
删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
javamxd committed May 10, 2023
1 parent 6ccdf4e commit d05b7da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,4 @@ private static String getNodeAttributeValue(Node node, String attributeKey) {
Node item = node.getAttributes().getNamedItem(attributeKey);
return item != null ? item.getNodeValue() : null;
}

public static void main(String[] args) {
System.out.println(escapeXml("<where> <if test=\"111\"> and 1 < 2 and 1<6 and 2>#{666}</if></where>"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ public class TrimSqlNode extends SqlNode {
*/
protected String suffixOverrides;

public static void main(String[] args) {
String sql = "11111?,";
System.out.println(sql.substring(0, sql.lastIndexOf(",")));
}

public void setPrefix(String prefix) {
this.prefix = prefix;
}
Expand Down

0 comments on commit d05b7da

Please sign in to comment.