Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandasch committed Mar 7, 2023
1 parent 76fc161 commit 1929ad4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,10 @@ public void registerClassLocally(BinaryType binaryType, boolean failIfUnregister

BinarySerializer serializer = serializerForClass(cls);

String affFieldName = affKeyFieldNames.getOrDefault(typeId, affinityKeyFieldName(typeId));
String affFieldName = affinityKeyFieldName(typeId);

if (affFieldName == null)
affFieldName = affinityFieldName(cls);

return new BinaryClassDescriptor(this,
cls,
Expand Down

0 comments on commit 1929ad4

Please sign in to comment.