mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Revert the delete operations added to the PlaceDAO
This commit is contained in:
		
							parent
							
								
									a617842785
								
							
						
					
					
						commit
						76549e08c7
					
				
					 3 changed files with 0 additions and 18 deletions
				
			
		|  | @ -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. | ||||
|      * | ||||
|  |  | |||
|  | @ -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);} | ||||
| 
 | ||||
| } | ||||
|  |  | |||
|  | @ -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);} | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Christo Joby Antony
						Christo Joby Antony