protected static String propertiesToString()

in src/main/java/com/amazonaws/services/glue/catalog/HiveUtils.java [37:50]


	protected static String propertiesToString(Map<String, String> props, List<String> exclude) {
		String prop_string = "";
		if (!props.isEmpty()) {
			Map<String, String> properties = new TreeMap<String, String>(props);
			List<String> realProps = new ArrayList<String>();
			for (String key : properties.keySet()) {
				if (properties.get(key) != null && (exclude == null || !exclude.contains(key))) {
					realProps.add("  '" + key + "'='" + HiveStringUtils.escapeHiveCommand(properties.get(key)) + "'");
				}
			}
			prop_string += StringUtils.join(realProps, ", \n");
		}
		return prop_string;
	}