package com.restOne.greeting;

import java.util.concurrent.atomic.AtomicLong;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GreetingController {

    private static final String template = "Hello, %s!";
    private final AtomicLong counter = new AtomicLong();

    @RequestMapping("/greeting")
    public Greeting greeting(@RequestParam(value = "name", defaultValue = "Kakki") String name) {
	return new Greeting(counter.incrementAndGet(), String.format(template, name));
    }
}
@@ -80,69 +80,8 @@
 %0D%0A%0D%0A
-import org.springframework.web.bind.annotation.CrossOrigin;%0D%0A
 impo

Remove not needed imports