File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
src/main/java/org/springframework/samples/petclinic/owner Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public void addPet(Pet pet) {
101101	/** 
102102	 * Return the Pet with the given name, or null if none found for this Owner. 
103103	 * @param name to test 
104- 	 * @return true  if pet name is already in use 
104+ 	 * @return a pet  if pet name is already in use 
105105	 */ 
106106	public  Pet  getPet (String  name ) {
107107		return  getPet (name , false );
@@ -127,7 +127,7 @@ public Pet getPet(Integer id) {
127127	/** 
128128	 * Return the Pet with the given name, or null if none found for this Owner. 
129129	 * @param name to test 
130- 	 * @return true  if pet name is already in use 
130+ 	 * @return a pet  if pet name is already in use 
131131	 */ 
132132	public  Pet  getPet (String  name , boolean  ignoreNew ) {
133133		name  = name .toLowerCase ();
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments