[nolist] remove debug spigot-side warning
This commit is contained in:
@@ -21,10 +21,7 @@ public class ResponseManager {
|
|||||||
public void executeResponse(ComResponse response) {
|
public void executeResponse(ComResponse response) {
|
||||||
ResponseKey key = new ResponseKey(response.getIdentifier(), response.getFrom());
|
ResponseKey key = new ResponseKey(response.getIdentifier(), response.getFrom());
|
||||||
Consumer<ComResponse> callback = responseMap.get(key);
|
Consumer<ComResponse> callback = responseMap.get(key);
|
||||||
if(callback == null) {
|
if(callback == null) return;
|
||||||
System.out.println("[ajQueue] No callback for " + key + " with " + response);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
responseMap.remove(key);
|
responseMap.remove(key);
|
||||||
callback.accept(response);
|
callback.accept(response);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user