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;
}
https://docs.tigase.net/tigase-server/master-snapshot/Development_Guide/html/#componentdevelpoment
java compiler reports can not found getElemTo(), and also getElemFrom()