Commit b2507140 authored by kianchong's avatar kianchong
Browse files

reverted bad commit & modified index page

parent 909dee10
Pipeline #175005 passed with stages
in 8 minutes and 17 seconds
......@@ -5,7 +5,9 @@ public class QueryProcessor {
public String process(String query) {
StringBuilder results = new StringBuilder();
if (query.toLowerCase().contains("shakespeare")) {
results.append("bad commit test");
results.append("William Shakespeare (26 April 1564 - 23 April 1616) was an\n" +
"English poet, playwright, 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());
}
......
......@@ -18,7 +18,7 @@ public class IndexPage implements Page {
// Content
writer.println(
"<h1>Welcome!!</h1>" +
"<p>Enter your query in the box below: " +
"<p>Enter your amazing query in the box below: " +
"<form>" +
"<input type=\"text\" name=\"q\" />" +
"<br><br> <input type=\"radio\" id=\"html\" name=\"format\" value=\"html\"> "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment