File tree Expand file tree Collapse file tree
core/src/main/java/me/zort/sqllib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public void close() {
5858 }
5959
6060 @ RequiredArgsConstructor (access = AccessLevel .PRIVATE )
61- private static class SQLPooledConnection {
61+ private static final class SQLPooledConnection {
6262 private final SQLDatabaseConnection connection ;
6363 private long lastUsed = System .currentTimeMillis ();
6464
Original file line number Diff line number Diff line change @@ -8,19 +8,6 @@ private Regex() {
88 }
99
1010 public static String skipRegexCharacters (String input ) {
11- boolean thrown = true ;
12- while (thrown ) {
13- try {
14- input .replaceAll (input , input );
15- thrown = false ;
16- } catch (PatternSyntaxException e ) {
17- input = _skipRegexCharacters (input );
18- }
19- }
20- return input ;
21- }
22-
23- private static String _skipRegexCharacters (String input ) {
2411 String s = input ;
2512 StringBuilder stringBuilder = new StringBuilder (s );
2613 try {
You can’t perform that action at this time.
0 commit comments