refactor package structure of Adapter.persistence
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c4ef8b9181
commit
bc0aad431f
|
@ -1,4 +1,4 @@
|
||||||
package persistence;
|
package persistence.category;
|
||||||
|
|
||||||
import abstraction.PersistenceAdapter;
|
import abstraction.PersistenceAdapter;
|
||||||
import category.Category;
|
import category.Category;
|
||||||
|
@ -13,12 +13,11 @@ public class CSVCategoryPersistenceAdapter implements PersistenceAdapter<Categor
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean remove(Category value) {
|
public void remove(Category value) {
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean add(Category category) {
|
public void add(Category category) {
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package persistence;
|
package persistence.category;
|
||||||
|
|
||||||
public record CategoryEntity(String name, int id) {
|
public record CategoryEntity(String name, int id) {
|
||||||
|
|
Reference in a new issue