505cf5b25184c59ca85de63b082eb12383eba1ab
Files Diff
- Added: 12
- Removed: 1
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 5 | ||
Pull Up Method protected loadThemes(classLoader ClassLoader, themesInputStream InputStream) : void from class org.keycloak.theme.JarThemeProviderFactory to protected loadThemes(classLoader ClassLoader, themesInputStream InputStream) : void from class org.keycloak.theme.ClasspathThemeProviderFactory | From | To | |
Pull Up Method public postInit(factory KeycloakSessionFactory) : void from class org.keycloak.theme.JarThemeProviderFactory to public postInit(factory KeycloakSessionFactory) : void from class org.keycloak.theme.ClasspathThemeProviderFactory | From | To | |
Pull Up Method public getId() : String from class org.keycloak.provider.wildfly.ModuleThemeProviderFactory to public getId() : String from class org.keycloak.theme.ClasspathThemeProviderFactory | From | To | |
Pull Up Method public close() : void from class org.keycloak.theme.JarThemeProviderFactory to public close() : void from class org.keycloak.theme.ClasspathThemeProviderFactory | From | To | |
Pull Up Method public getId() : String from class org.keycloak.theme.JarThemeProviderFactory to public getId() : String from class org.keycloak.theme.ClasspathThemeProviderFactory | From | To | |
Inline Method | 1 | ||
Inline Method public getResource(path String) : URL inlined to public getResourceAsStream(path String) : InputStream in class org.keycloak.theme.FolderTheme | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute protected KEYCLOAK_THEMES_JSON : String from class org.keycloak.theme.JarThemeProviderFactory to public KEYCLOAK_THEMES_JSON : String from class org.keycloak.theme.ClasspathThemeProviderFactory | From | To | |
Pull Up Attribute protected themes : Map<Theme.Type,Map<String,ClassLoaderTheme>> from class org.keycloak.theme.JarThemeProviderFactory to protected themes : Map<Theme.Type,Map<String,ClassLoaderTheme>> from class org.keycloak.theme.ClasspathThemeProviderFactory | From | To | |
Extract Class | 2 | ||
Extract Class org.keycloak.theme.ClasspathThemeResourceProviderFactory from class org.keycloak.theme.ExtendingThemeManager.ExtendingTheme | From | To | |
Extract Class org.keycloak.theme.ClasspathThemeResourceProviderFactory from class org.keycloak.theme.ClassLoaderTheme | From | To | |
Rename Class | 1 | ||
Rename Class org.keycloak.theme.JarThemeProvider renamed to org.keycloak.theme.ClasspathThemeProvider | From | To | |
Move Class | 2 | ||
Move Class org.keycloak.theme.JarThemeProviderFactory.ThemesRepresentation moved to org.keycloak.theme.ClasspathThemeProviderFactory.ThemesRepresentation | From | To | |
Move Class org.keycloak.theme.JarThemeProviderFactory.ThemeRepresentation moved to org.keycloak.theme.ClasspathThemeProviderFactory.ThemeRepresentation | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.keycloak.theme.ClasspathThemeProviderFactory from classes [org.keycloak.theme.JarThemeProviderFactory, org.keycloak.provider.wildfly.ModuleThemeProviderFactory] | From | To | |
Change Variable Type | 1 | ||
Change Variable Type list : LinkedList<ProviderFactory> to list : List<ProviderFactory> in method public load(spi Spi) : List<ProviderFactory> in class org.keycloak.provider.DefaultProviderLoader | From | To |