Skip to content

Commit 9e29ecf

Browse files
Copilotchrjohn
andcommitted
Remove unused logError() and getLogSuffix() methods from SessionConnector
Co-authored-by: chrjohn <[email protected]>
1 parent 1ce8c21 commit 9e29ecf

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

quickfixj-core/src/main/java/quickfix/mina/SessionConnector.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -296,21 +296,6 @@ protected void waitForLogout() {
296296
}
297297
}
298298

299-
protected void logError(SessionID sessionID, IoSession protocolSession, String message, Throwable t) {
300-
log.error(message + getLogSuffix(sessionID, protocolSession), t);
301-
}
302-
303-
private String getLogSuffix(SessionID sessionID, IoSession protocolSession) {
304-
String suffix = ":";
305-
if (sessionID != null) {
306-
suffix += "sessionID=" + sessionID.toString() + ";";
307-
}
308-
if (protocolSession != null) {
309-
suffix += "address=" + protocolSession.getRemoteAddress();
310-
}
311-
return suffix;
312-
}
313-
314299
protected void startSessionTimer() {
315300
Runnable timerTask = new SessionTimerTask();
316301
if (shortLivedExecutor != null) {

0 commit comments

Comments
 (0)