1 package hu.user.mediacube.indexer.service;
\r
3 import org.springframework.beans.factory.annotation.Autowired;
\r
5 import hu.user.mediacube.indexer.JsonProperties;
\r
8 public class PolishGreetingService implements GreetingService {
\r
11 private JsonProperties jsonProperties;
\r
14 public String greet(int id) {
\r
15 String message = "Hello";
\r
16 if (jsonProperties != null)
\r
17 message = jsonProperties.getPolishMessage();
\r
18 return message + " " + id;
\r