Revert the delete operations added to the PlaceDAO

This commit is contained in:
Christo Joby Antony 2024-10-19 00:43:42 +11:00
parent a617842785
commit 76549e08c7
3 changed files with 0 additions and 18 deletions

View file

@ -25,12 +25,6 @@ public abstract class PlaceDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
public abstract void saveSynchronous(Place place);
/**
* Deletes a Place object from the database
* based on the provided entity.
*/
@Delete
public abstract void deletePlace(Place place);
/**
* Retrieves a Place object from the database based on the provided entity ID.
*

View file

@ -37,10 +37,4 @@ public class PlacesLocalDataSource {
return placeDao.save(place);
}
/**
* Deletes a Place object from the database
* based on the provided entity.
*/
public void deletePlace(final Place place) {placeDao.deletePlace(place);}
}

View file

@ -38,10 +38,4 @@ public class PlacesRepository {
return localDataSource.fetchPlace(entityID);
}
/**
* Deletes a Place object from the database
* based on the provided entity.
*/
public void deletePlace(final Place place){ localDataSource.deletePlace(place);}
}