You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java compiler reports can not found getElemTo(), and also getElemFrom()
public int hashCodeForPacket(Packet packet) {
if (packet.getElemTo() != null) {
return packet.getElemTo().hashCode();
}
// This should not happen, every packet must have a destination
// address, but maybe our SPAM checker is used for checking
// strange kind of packets too....
if (packet.getElemFrom() != null) {
return packet.getElemFrom().hashCode();
}
// If this really happens on your system you should look carefully
// at packets arriving to your component and decide a better way
// to calculate hashCode
return 1;
}
The text was updated successfully, but these errors were encountered:
https://docs.tigase.net/tigase-server/master-snapshot/Development_Guide/html/#componentdevelpoment
java compiler reports can not found getElemTo(), and also getElemFrom()
The text was updated successfully, but these errors were encountered: