Changeset 8b7dd7f for Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/ShelterServiceImplementation.java
- Timestamp:
- 03/05/23 18:01:28 (16 months ago)
- Branches:
- main
- Children:
- c3278ac, fdd7961
- Parents:
- f194b4e (diff), 5f53114 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Filip Chorbeski <86695898+FilipChorbeski@…> (03/05/23 18:01:28)
- git-committer:
- GitHub <noreply@…> (03/05/23 18:01:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/ShelterServiceImplementation.java
rf194b4e r8b7dd7f 7 7 8 8 import java.util.List; 9 import java.util.Optional; 9 10 10 11 @Service 11 12 public class ShelterServiceImplementation implements ShelterService { 13 12 14 private final ShelterRepository shelterRepository; 13 15 … … 16 18 } 17 19 20 @Override 21 public Optional<Shelter> findById(Integer id) { 22 return this.shelterRepository.findById(id); 23 } 18 24 19 25 @Override … … 21 27 return shelterRepository.findAll(); 22 28 } 29 30 23 31 }
Note:
See TracChangeset
for help on using the changeset viewer.