This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new b410b51  Fixing compilation error of class 
rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/OrderService.java
b410b51 is described below

commit b410b51b063e97490baf7c8895ea03186598b9b7
Author: hg19yx <[email protected]>
AuthorDate: Tue Nov 9 23:17:36 2021 +0100

    Fixing compilation error of class 
rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/OrderService.java
---
 .../org/apache/camel/example/spring/boot/rest/jpa/OrderService.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/OrderService.java
 
b/rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/OrderService.java
index c55599f..07cc0ef 100644
--- 
a/rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/OrderService.java
+++ 
b/rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/OrderService.java
@@ -18,10 +18,9 @@ package org.apache.camel.example.spring.boot.rest.jpa;
 
 import java.util.Random;
 
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Serivce;
+import org.springframework.stereotype.Service;
 
-@Serivce
+@Service
 public class OrderService {
 
     private final BookRepository books;

Reply via email to