private static String prunePath(String path) {
		if (path != null) {
			path = path.trim();
			if (path.length() == 0) {
				path = null;
			}
		}
		return path;
	}
Prune path to trim leading and trailing white space. A null will be
returned if the pruned path is null or the empty string.

@param path
@return pruned path or null if path was null or pruned path was the empty
        string
Ghidra/Framework/Generic/src/main/java/ghidra/net/ApplicationKeyManagerFactory.java