Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Luke Texon
simplewebapp
Commits
ac8a7307
Commit
ac8a7307
authored
Jan 20, 2020
by
Matej Genci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ugly changes
parent
d468354c
Pipeline
#114702
failed with stages
in 1 minute and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/main/java/ic/doc/QueryProcessor.java
src/main/java/ic/doc/QueryProcessor.java
+1
-1
src/main/java/ic/doc/web/IndexPage.java
src/main/java/ic/doc/web/IndexPage.java
+1
-1
No files found.
src/main/java/ic/doc/QueryProcessor.java
View file @
ac8a7307
...
...
@@ -6,7 +6,7 @@ public class QueryProcessor {
StringBuilder
results
=
new
StringBuilder
();
if
(
query
.
toLowerCase
().
contains
(
"shakespeare"
))
{
results
.
append
(
"William Shakespeare (26 April 1564 - 23 April 1616) was an\n"
+
"English poet,
playwright
, and actor, widely regarded as the greatest\n"
+
"English poet, , and actor, widely regarded as the greatest\n"
+
"writer in the English language and the world's pre-eminent dramatist. \n"
);
results
.
append
(
System
.
lineSeparator
());
}
...
...
src/main/java/ic/doc/web/IndexPage.java
View file @
ac8a7307
...
...
@@ -13,7 +13,7 @@ public class IndexPage implements Page {
// Header
writer
.
println
(
"<html>"
);
writer
.
println
(
"<head><title>Welcome</title></head>"
);
writer
.
println
(
"<body>"
);
writer
.
println
(
"<body
bg=\"#ff0000\"
>"
);
// Content
writer
.
println
(
...
...
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