code: private static Map<String, String> createMapFromList(final List<String> all) {
  		final Map<String, String> map = new ConcurrentHashMap<>();
  
  		for (final String documentElement : all) {
  			if (documentElement != null) {
  				map.put(documentElement, documentElement);
  			}
  		}
  		return map;
  	}
docs: Creates the map from list.
  
  @param all
  the all
  @return the map