@@ -0,0 +1,666 @@
+package google.main;%0A%0Aclass MessageBuilder %7B%0A%0A%09private StringBuilder message;%0A%0A%09MessageBuilder() %7B%0A%09%09this.message = new StringBuilder();%0A%09%7D%0A%0A%09MessageBuilder withQuery(String query) %7B%0A%09%09message.append(%22Dla zapytania '%22)%0A%09%09%09%09.append(query)%0A%09%09%09%09.append(%22' Google%22);%0A%09%09return this;%0A%09%7D%0A%0A%09MessageBuilder withNumberOfResults(Long numberOfResults) %7B%0A%09%09if (numberOfResults == null %7C%7C Long.valueOf(0L).equals(numberOfResults)) %7B%0A%09%09%09message.append(%22 niczego nie znalaz%C5%82o.%22);%0A%09%09%7D else %7B%0A%09%09%09message.append(%22 znalaz%C5%82o ok. %22)%0A%09%09%09%09%09.append(String.format(%22%25,d%22, numberOfResults))%0A%09%09%09%09%09.append(%22 wynik%C3%B3w.%22);%0A%09%09%7D%0A%09%09return this;%0A%09%7D%0A%0A%09String build() %7B%0A%09%09return message.toString();%0A%09%7D%0A%0A%7D%0A

Add MessageBuilder class.