Skip to content
Snippets Groups Projects
Commit cc86928d authored by Elma Nurmiaho's avatar Elma Nurmiaho
Browse files

Merge branch 'newBranch' into 'main'

Update SiteGen.java - Vinoviiva lisätty

See merge request !1
parents d597902b 6298fc62
No related branches found
No related tags found
1 merge request!1Update SiteGen.java - Vinoviiva lisätty
Pipeline #45168 passed
...@@ -18,7 +18,7 @@ class SiteGen { ...@@ -18,7 +18,7 @@ class SiteGen {
"<h1>" + siteTitle + "</h1>" + "<h1>" + siteTitle + "</h1>" +
"<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" + "<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" +
"</body>" + "</body>" +
"<html>"; "</html>";
public static void main(String args[]) throws Exception { public static void main(String args[]) throws Exception {
Files.createDirectory(Paths.get("public/")); Files.createDirectory(Paths.get("public/"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment