3fe3a48c50957e9784d598f20bfe54d53595d95e
Files Diff
- Added: 16
- Removed: 3
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [countryCode : String, languageCode : String, variantCode : String, scriptCode : String] to baseLocale : BaseLocale in class java.util.Locale | From | To | |
Move Method | 3 | ||
Move Method public build() : Locale from class java.util.Locale.Builder to public build() : Locale from class java.util.Locale.Builder | From | To | |
Move Method public Builder() from class java.util.Locale.Builder to public Builder() from class java.util.Locale.Builder | From | To | |
Move Method public setLocale(locale Locale) : Builder from class java.util.Locale.Builder to public setLocale(locale Locale) : Builder from class java.util.Locale.Builder | From | To | |
Move Source Folder | 1 | ||
Move Source Folder jre_emul/android/libcore/luni/src/main to jre_emul/android/platform/libcore/ojluni/src/objc | From | To | |
Move Attribute | 2 | ||
Move Attribute private keywords : Map<String,String> from class java.util.Locale.Builder to private keywords : Map<String,String> from class sun.util.locale.UnicodeLocaleExtension | From | To | |
Move Attribute private attributes : Set<String> from class java.util.Locale.Builder to private attributes : Set<String> from class sun.util.locale.UnicodeLocaleExtension | From | To | |
Extract Class | 2 | ||
Extract Class java.util.Locale.Builder from class java.util.Locale.Builder | From | To | |
Extract Class sun.util.locale.UnicodeLocaleExtension from class java.util.Locale.Builder | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class java.util.Locale.Builder moved and renamed to sun.util.locale.InternalLocaleBuilder | From | To | |
Move Class | 1 | ||
Move Class org.apache.harmony.luni.tests.java.util.LocaleTest moved to org.apache.harmony.tests.java.util.LocaleTest | From | To | |
Rename Variable | 3 | ||
Rename Variable code : String to language3 : String in method public getISO3Language() : String in class java.util.Locale | From | To | |
Rename Variable code : String to country3 : String in method public getISO3Country() : String in class java.util.Locale | From | To | |
Rename Variable normalizedValue : String to val : String in method public setExtension(singleton char, value String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Inline Method | 1 | ||
Inline Method private toNewString(languageCode String, countryCode String, variantCode String, scriptCode String, extensions Map<Character,String>) : String inlined to public toString() : String in class java.util.Locale | From | To | |
Change Return Type | 10 | ||
Change Return Type Builder to InternalLocaleBuilder in method public removeUnicodeLocaleAttribute(attribute String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public setUnicodeLocaleKeyword(key String, type String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public clearExtensions() : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public setExtension(singleton char, value String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public setVariant(variant String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public clear() : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public addUnicodeLocaleAttribute(attribute String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public setScript(script String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public setRegion(region String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Return Type Builder to InternalLocaleBuilder in method public setLanguage(language String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Rename Attribute | 2 | ||
Rename Attribute attributes : Set<String> to uattributes : Set<CaseInsensitiveString> in class sun.util.locale.InternalLocaleBuilder | From | To | |
Rename Attribute keywords : Map<String,String> to ukeywords : Map<CaseInsensitiveString,String> in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type attributes : Set<String> to uattributes : Set<CaseInsensitiveString> in class sun.util.locale.InternalLocaleBuilder | From | To | |
Change Attribute Type keywords : Map<String,String> to ukeywords : Map<CaseInsensitiveString,String> in class sun.util.locale.InternalLocaleBuilder | From | To | |
Rename Parameter | 7 | ||
Rename Parameter extensionKey : char to key : char in method public getExtension(key char) : String in class java.util.Locale | From | To | |
Rename Parameter key : char to singleton : char in method public setExtension(singleton char, value String) : InternalLocaleBuilder in class sun.util.locale.InternalLocaleBuilder | From | To | |
Rename Parameter keyWord : String to key : String in method public getUnicodeLocaleType(key String) : String in class java.util.Locale | From | To | |
Rename Parameter object : Object to obj : Object in method public equals(obj Object) : boolean in class java.util.Locale | From | To | |
Rename Parameter stream : ObjectInputStream to in : ObjectInputStream in method private readObject(in ObjectInputStream) : void in class java.util.Locale | From | To | |
Rename Parameter locale : Locale to newLocale : Locale in method public setDefault(newLocale Locale) : void in class java.util.Locale | From | To | |
Rename Parameter stream : ObjectOutputStream to out : ObjectOutputStream in method private writeObject(out ObjectOutputStream) : void in class java.util.Locale | From | To |