public Collection<? extends DetectedFrameworkDescription> updateFrameworksList(String detectorId,
                                                                                 Collection<? extends DetectedFrameworkDescription> frameworks) {
    synchronized (myLock) {
      final Collection<DetectedFrameworkDescription> oldFrameworks = myDetectedFrameworks.remove(detectorId);
      myDetectedFrameworks.putValues(detectorId, frameworks);
      if (oldFrameworks != null && !oldFrameworks.isEmpty() && !frameworks.isEmpty()) {
        return ContainerUtil.subtract(frameworks, oldFrameworks);
      }
      return frameworks;
    }
  }
public Collection<? extends DetectedFrameworkDescription> updateFrameworksList(String detectorId,
                                                                                 Collection<? extends DetectedFrameworkDescription> frameworks)