# | Line 53 | Line 53 | public class WebFeeder { | |
---|---|---|
53 | // that to a file. | |
54 | ||
55 | public void receiveXMLPacket(XMLPacket packet) { | |
56 | + | String packetType = packet.getParam("packet.attributes.type"); |
57 | + | if(packetType == null || !packetType.equals("data")) { |
58 | + | // bail out, without warning |
59 | + | // this is probably a heartbeat or similar |
60 | + | return; |
61 | + | } |
62 | // get config proxy | |
63 | ConfigurationProxy cp = ConfigurationProxy.getInstance(); | |
64 | // get file locations |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |