code: private void saveNewRequestForTip(TaskInProgress tip, ResourceRequest req) {
      requestToTipMap.put(req.getId(), tip);
      TaskContext context = taskToContextMap.get(tip);
      if (context == null) {
        context = new TaskContext(req);
      } else {
        context.resourceRequests.add(req);
      }
      taskToContextMap.put(tip, context);
    }
docs: Saves new request for given tip, no recording in resource tracker happens
  @param tip task in progress
  @param req request