769c93ece9d27e15d54220ff3443368bdd15b809
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 6 | ||
Rename Method public emf(emf EntityManagerFactory) : void renamed to public setEmf(emf EntityManagerFactory) : void in class org.rapidoid.jpa.JPA | From | To | |
Rename Method public emf() : EntityManagerFactory renamed to public getEmf() : EntityManagerFactory in class org.rapidoid.jpa.JPA | From | To | |
Rename Method public getAll(clazz Class<T>) : List<T> renamed to private em_() : EM in class org.rapidoid.jpa.JPA | From | To | |
Rename Method public find(clazz Class<T>, id Object) : T renamed to public getIfExists(clazz Class<T>, id Object) : T in class org.rapidoid.jpa.EM | From | To | |
Rename Method public getAll() : List<E> renamed to public getAllEntities() : List<E> in class org.rapidoid.jpa.EM | From | To | |
Rename Method public ref(clazz Class<E>, id Object) : E renamed to public reference(clazz Class<E>, id Object) : E in class org.rapidoid.jpa.EM | From | To | |
Inline Method | 2 | ||
Inline Method public getAll(clazz Class<E>, ids List<String>) : List<E> inlined to private em_() : EM in class org.rapidoid.jpa.JPA | From | To | |
Inline Method public getAll(clazz Class<T>, range IRange) : List<T> inlined to private em_() : EM in class org.rapidoid.jpa.JPA | From | To | |
Change Return Type | 2 | ||
Change Return Type List<T> to EM in method private em_() : EM in class org.rapidoid.jpa.JPA | From | To | |
Change Return Type List<T> to Entities<T> in method public find(criteria CriteriaQuery<T>) : Entities<T> in class org.rapidoid.jpa.JPA | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public provideEmf() : EntityManagerFactory extracted from public openPersister() : P in class org.rapidoid.jpa.JPAPersisterProvider & moved to class org.rapidoid.jpa.JPA | From | To |