Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gc3 for class SenderAndTargetSessionIdStrategy.CompositeKeyImpl and SenderTargetAndSubSessionIdStrategy.CompositeKeyImpl, and externalize initial ConnectionId to EngineConfiguration #500

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Update SenderAndTargetSessionIdStrategy.java
miketwk authored Apr 27, 2024
commit 5f168f57a0ea18167dfad7fe7fb2fc07b9bc8fc7
Original file line number Diff line number Diff line change
@@ -167,7 +167,7 @@ private CompositeKeyImpl(
hashCode = hash(this.localCompID, this.remoteCompID);
this.localCompIDStr = new String(this.localCompID);
this.remoteCompIDStr = new String(this.remoteCompID);
compositeKeyStr=compositKey();
compositeKeyStr = compositKey();
}

private CompositeKeyImpl(final byte[] localCompID, final byte[] remoteCompID)
@@ -177,7 +177,7 @@ private CompositeKeyImpl(final byte[] localCompID, final byte[] remoteCompID)
hashCode = hash(this.localCompID, this.remoteCompID);
this.localCompIDStr = new String(this.localCompID);
this.remoteCompIDStr = new String(this.remoteCompID);
compositeKeyStr=compositKey();
compositeKeyStr = compositKey();
}

private int hash(final char[] senderCompID, final char[] targetCompID)