dde41460883b4a240b65aa85ad62d993355b7304
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 4 | ||
Move And Rename Method private getBytesLatin1(str String) : byte[] from class java.lang.String to public getBytes(str String) : byte[] from class javaemul.internal.EmulatedCharset.LatinCharset | From | To | |
Move And Rename Method private utf8ToString(bytes byte[], ofs int, len int) : String from class java.lang.String to public decodeString(bytes byte[], ofs int, len int) : char[] from class javaemul.internal.EmulatedCharset.UtfCharset | From | To | |
Move And Rename Method private latin1ToString(bytes byte[], ofs int, len int) : String from class java.lang.String to public decodeString(bytes byte[], ofs int, len int) : char[] from class javaemul.internal.EmulatedCharset.LatinCharset | From | To | |
Move And Rename Method private getBytesUtf8(str String) : byte[] from class java.lang.String to public getBytes(str String) : byte[] from class javaemul.internal.EmulatedCharset.UtfCharset | From | To | |
Extract Subclass | 1 | ||
Extract Subclass javaemul.internal.EmulatedCharset from class java.nio.charset.Charset | From | To | |
Move Method | 1 | ||
Move Method private encodeUtf8(bytes byte[], ofs int, codePoint int) : int from class java.lang.String to private encodeUtf8(bytes byte[], ofs int, codePoint int) : int from class javaemul.internal.EmulatedCharset.UtfCharset | From | To | |
Change Return Type | 2 | ||
Change Return Type String to char[] in method public decodeString(bytes byte[], ofs int, len int) : char[] in class javaemul.internal.EmulatedCharset.LatinCharset | From | To | |
Change Return Type String to char[] in method public decodeString(bytes byte[], ofs int, len int) : char[] in class javaemul.internal.EmulatedCharset.UtfCharset | From | To | |
Extract Class | 2 | ||
Extract Class javaemul.internal.EmulatedCharset.LatinCharset from class java.lang.String | From | To | |
Extract Class javaemul.internal.EmulatedCharset.UtfCharset from class java.lang.String | From | To | |
Rename Parameter | 3 | ||
Rename Parameter charset : String to charsetName : String in method package _String(bytes byte[], ofs int, len int, charsetName String) : String in class java.lang.String | From | To | |
Rename Parameter charSet : String to charsetName : String in method public getBytes(charsetName String) : byte[] in class java.lang.String | From | To | |
Rename Parameter charSet : Charset to charset : Charset in method public getBytes(charset Charset) : byte[] in class java.lang.String | From | To |