Skip to content

Commit 5ace063

Browse files
committed
Refactor debug method signature in AbstractSqlTable to be abstract
1 parent 50e488c commit 5ace063

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

SimpleAPI/src/main/java/com/bencodez/simpleapi/sql/mysql/AbstractSqlTable.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ public abstract class AbstractSqlTable {
3434

3535
public abstract void debug(Throwable t);
3636

37-
/** Optional debug text. Defaults to logInfo. */
38-
public void debug(String msg) {
39-
logInfo(msg);
40-
}
37+
public abstract void debug(String messasge);
4138

4239
// ---- Core state ----
4340

@@ -54,8 +51,8 @@ public void debug(String msg) {
5451
public final Set<String> primaryKeys = ConcurrentHashMap.newKeySet();
5552

5653
/**
57-
* If you want int-vs-string decoding in getExact-like methods, subclasses can use
58-
* this.
54+
* If you want int-vs-string decoding in getExact-like methods, subclasses can
55+
* use this.
5956
*/
6057
public final List<String> intColumns = Collections.synchronizedList(new ArrayList<>());
6158

@@ -165,8 +162,8 @@ public void severe(String string) {
165162
}
166163

167164
/**
168-
* Call this ONLY if you constructed with deferInit=true.
169-
* Safe to call multiple times (idempotent enough for your usage).
165+
* Call this ONLY if you constructed with deferInit=true. Safe to call multiple
166+
* times (idempotent enough for your usage).
170167
*/
171168
protected final void init() {
172169
ensureTable();

0 commit comments

Comments
 (0)