remove extra import
This commit is contained in:
parent
af544b8736
commit
20002723ab
|
@ -5,7 +5,6 @@ import java.util.List;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
|
||||||
import org.springframework.context.ApplicationEventPublisher;
|
import org.springframework.context.ApplicationEventPublisher;
|
||||||
import org.springframework.data.domain.Page;
|
import org.springframework.data.domain.Page;
|
||||||
import org.springframework.data.domain.Pageable;
|
import org.springframework.data.domain.Pageable;
|
||||||
|
@ -43,10 +42,6 @@ public class FooController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private IFooService service;
|
private IFooService service;
|
||||||
|
|
||||||
|
|
||||||
@Value("${version}")
|
|
||||||
Integer version;
|
|
||||||
|
|
||||||
public FooController() {
|
public FooController() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
@ -86,7 +81,6 @@ public class FooController {
|
||||||
|
|
||||||
@GetMapping
|
@GetMapping
|
||||||
public List<Foo> findAll() {
|
public List<Foo> findAll() {
|
||||||
System.out.println(version);
|
|
||||||
return service.findAll();
|
return service.findAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue