Skip to content

Instantly share code, notes, and snippets.

@michael-simons
Created January 28, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-simons/5830e4b64fb77713bb9a to your computer and use it in GitHub Desktop.
Save michael-simons/5830e4b64fb77713bb9a to your computer and use it in GitHub Desktop.
Kommentar nigjo
List<String> converted = Files.lines(file, StandardCharsets.UTF_8)
.map(line -> line.replace("<credentialsId>oldID</credentialsId>", "<credentialsId>newID</credentialsId>"))
.collect(Collectors.toList());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment