Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Server maintenance on Tue 24.5. at 12:00.
Estimated downtime less than 30 minutes.
Open sidebar
Waltteri Mynttinen
Ohtu-harjoitus5
Commits
c876efa1
Commit
c876efa1
authored
Oct 11, 2021
by
Waltteri Mynttinen
Browse files
Update SiteGen.java
parent
f69f2cec
Pipeline
#45185
passed with stages
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
SiteGen.java
View file @
c876efa1
...
...
@@ -18,7 +18,7 @@ class SiteGen {
"<h1>"
+
siteTitle
+
"</h1>"
+
"<ul>"
+
movieList
.
stream
().
map
(
i
->
"<li>"
+
i
+
"</li>"
).
collect
(
Collectors
.
joining
())
+
"</ul>"
+
"</body>"
+
"
/
<html>"
;
"<
/
html>"
;
public
static
void
main
(
String
args
[])
throws
Exception
{
Files
.
createDirectory
(
Paths
.
get
(
"public/"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment