GOSSIP-29 Fix typo in GossipCore method name
This commit is contained in:
@ -102,7 +102,7 @@ public class GossipCore {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void recieve(Base base){
|
public void receive(Base base){
|
||||||
if (base instanceof Response){
|
if (base instanceof Response){
|
||||||
if (base instanceof Trackable){
|
if (base instanceof Trackable){
|
||||||
Trackable t = (Trackable) base;
|
Trackable t = (Trackable) base;
|
||||||
|
@ -86,7 +86,7 @@ abstract public class PassiveGossipThread implements Runnable {
|
|||||||
debug(packet_length, json_bytes);
|
debug(packet_length, json_bytes);
|
||||||
try {
|
try {
|
||||||
Base activeGossipMessage = MAPPER.readValue(json_bytes, Base.class);
|
Base activeGossipMessage = MAPPER.readValue(json_bytes, Base.class);
|
||||||
gossipCore.recieve(activeGossipMessage);
|
gossipCore.receive(activeGossipMessage);
|
||||||
} catch (RuntimeException ex) {//TODO trap json exception
|
} catch (RuntimeException ex) {//TODO trap json exception
|
||||||
LOGGER.error("Unable to process message", ex);
|
LOGGER.error("Unable to process message", ex);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user