code: private Map<String, String> getThisTransportMap(Map<String, Map<String, String>> allTransports,
                                                      String transportName) {
          if (!allTransports.containsKey(transportName)) {
              allTransports.put(transportName, new HashMap<String, String>());
          }
          return allTransports.get(transportName);
      }
docs: If we don't yet have a map for this transport name, create one.