public void addTemporary(String trust) {
		Util.infoMsg("Trusting for this run: " + trust);
		Set<String> newrules = new LinkedHashSet<>(Arrays.asList(temporaryTrustedSources));
		if (newrules.add(trust)) {
			temporaryTrustedSources = newrules.toArray(new String[0]);
		} else {
			Util.warnMsg("Already trusted source(s). No changes made.");
		}
	}
in place reverse of array

@param array array to reverse
@param <T>
@return reversed array
src/main/java/dev/jbang/net/TrustedSources.java