bd1d2e5eeae303dfbbf94af04e14a00112c2f5ca
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public getFilename() : String renamed to public getName() : String in class org.rapidoid.io.CachedResource | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method public loadResource(filename String, enableDefaults boolean) : byte[] from class org.rapidoid.io.IO to protected getDefaultFilename(filename String) : String from class org.rapidoid.io.CachedResource | From | To | |
| Change Return Type | 2 | ||
| Change Return Type byte[] to String in method public getContent() : String in class org.rapidoid.io.CachedResource | From | To | |
| Change Return Type byte[] to String in method protected getDefaultFilename(filename String) : String in class org.rapidoid.io.CachedResource | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute filename : String to name : String in class org.rapidoid.io.CachedResource | From | To | |
| Extract Method | 2 | ||
| Extract Method protected load(filename String) : void extracted from public getContent() : byte[] in class org.rapidoid.io.CachedResource | From | To | |
| Extract Method public getBytes() : byte[] extracted from public getContent() : byte[] in class org.rapidoid.io.CachedResource | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type FULL_PAGE_HTML : String to FULL_PAGE_HTML : CachedResource in class org.rapidoid.http.HTMLSnippets | From | To | |
| Change Attribute Type PAGE_HTML : String to PAGE_HTML : CachedResource in class org.rapidoid.http.HTMLSnippets | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter filename : String to name : String in method public CachedResource(name String) in class org.rapidoid.io.CachedResource | From | To |