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

Update SiteGen.java - Vinoviiva lisätty

parent d597902b
No related branches found
No related tags found
1 merge request!1Update SiteGen.java - Vinoviiva lisätty
Pipeline #45166 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