public static void createTrustedSources() {
		Path trustedSourcesFile = Settings.getTrustedSourcesFile();
		if (Files.notExists(trustedSourcesFile)) {
			ResourceRef templateRef = ResourceRef.forResource("classpath:/trusted-sources.qute");
			Template template = TemplateEngine.instance().getTemplate(templateRef);
			if (template == null)
				throw new ExitException(1, "Could not locate template named: '" + templateRef + "'");
			String result = template.render();

			try {
				Util.writeString(trustedSourcesFile, result);
			} catch (IOException e) {
				Util.errorMsg("Could not create initial trusted-sources file at " + trustedSourcesFile, e);
			}

		}
	}
in place reverse of array

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