From 67ae72f3246e4d7ee2525189555eb0c769a7a3e9 Mon Sep 17 00:00:00 2001
From: Antoine Rey <antoine.rey@gmail.com>
Date: Sun, 23 Mar 2014 17:43:58 +0100
Subject: [PATCH] Remove public to methods from the ClinicService

Any method you define in an interface is by definition public
---
 .../samples/petclinic/service/ClinicService.java   | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/springframework/samples/petclinic/service/ClinicService.java b/src/main/java/org/springframework/samples/petclinic/service/ClinicService.java
index c4a65e6..e72b5c1 100644
--- a/src/main/java/org/springframework/samples/petclinic/service/ClinicService.java
+++ b/src/main/java/org/springframework/samples/petclinic/service/ClinicService.java
@@ -32,19 +32,19 @@ import org.springframework.samples.petclinic.model.Visit;
  */
 public interface ClinicService {
 
-    public Collection<PetType> findPetTypes() throws DataAccessException;
+    Collection<PetType> findPetTypes() throws DataAccessException;
 
-    public Owner findOwnerById(int id) throws DataAccessException;
+    Owner findOwnerById(int id) throws DataAccessException;
 
-    public Pet findPetById(int id) throws DataAccessException;
+    Pet findPetById(int id) throws DataAccessException;
 
-    public void savePet(Pet pet) throws DataAccessException;
+    void savePet(Pet pet) throws DataAccessException;
 
-    public void saveVisit(Visit visit) throws DataAccessException;
+    void saveVisit(Visit visit) throws DataAccessException;
 
-    public Collection<Vet> findVets() throws DataAccessException;
+    Collection<Vet> findVets() throws DataAccessException;
 
-    public void saveOwner(Owner owner) throws DataAccessException;
+    void saveOwner(Owner owner) throws DataAccessException;
 
     Collection<Owner> findOwnerByLastName(String lastName) throws DataAccessException;
 
-- 
GitLab