Open xxw1754352621 opened 4 years ago
org.apache.ibatis.logging.jdbc.BaseJdbcLogger#removeBreakingWhitespace
protected String removeBreakingWhitespace(String original) { StringTokenizer whitespaceStripper = new StringTokenizer(original); StringBuilder builder = new StringBuilder(); while (whitespaceStripper.hasMoreTokens()) { builder.append(whitespaceStripper.nextToken()); builder.append(" "); } return builder.toString(); }
mybatis的一段源码使用
org.apache.ibatis.logging.jdbc.BaseJdbcLogger#removeBreakingWhitespace