Changeset 0078d84 for Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/ShelterServiceImplementation.java
- Timestamp:
- 03/10/23 21:43:30 (16 months ago)
- Branches:
- main
- Children:
- 104185f
- Parents:
- b46d1f2 (diff), c3278ac (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/ShelterServiceImplementation.java
rb46d1f2 r0078d84 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.