code: private static void safeRecordURL(String externalForm) {
          try {
              sLock.lock();
              sURLs.add(externalForm);
          } finally {
              sLock.unlock();
          }
      }
docs: Records the given external form of URL as a dependency.
  
  @param externalForm