177ebd5c75b38e772e8889fa3589d86ab3fa8f70
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private preStoreDataBlocks(in DataInput, len int) : void renamed to private checkClosed(in DataInput, len int) : void in class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Rename Method protected storeDataBlocks(in DataInput, len int) : void renamed to private send(data Object, writeLen int) : void in class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Rename Method protected storeDataBlock(block ByteBuffer) : void renamed to private sendBuffer() : void in class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Rename Method public testInvalidEndpointTcpPort() : void renamed to private checkIvalidPort(port int) : void in class org.apache.ignite.internal.processors.igfs.IgfsProcessorValidationSelfTest | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type fileInfo : IgfsEntryInfo to fileId : IgniteUuid in method public writeStart(fileId IgniteUuid) : IgniteInternalFuture<Boolean> in class org.apache.ignite.internal.processors.igfs.IgfsDataManager | From | To | |
Change Parameter Type fileInfo : IgfsEntryInfo to fileId : IgniteUuid in method public writeClose(fileId IgniteUuid, await boolean) : void in class org.apache.ignite.internal.processors.igfs.IgfsDataManager | From | To | |
Move Method | 2 | ||
Move Method public write(b int) : void from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to public write(b int) : void from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Move Method public write(b byte[], off int, len int) : void from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to public write(b byte[], off int, len int) : void from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Rename Variable | 1 | ||
Rename Variable old : IgfsEntryInfo to oldInfo : IgfsEntryInfo in method public process(entry MutableEntry<IgniteUuid,IgfsEntryInfo>, args Object...) : Void in class org.apache.ignite.internal.processors.igfs.meta.IgfsMetaFileUnlockProcessor | From | To | |
Move Attribute | 6 | ||
Move Attribute protected time : long from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to private time : long from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Move Attribute private bufSize : int from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to private bufSize : int from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Move Attribute private closed : boolean from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to private closed : boolean from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Move Attribute protected bytes : long from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to private bytes : long from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Move Attribute private buf : ByteBuffer from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to private buf : ByteBuffer from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Move Attribute protected path : IgfsPath from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter to private path : IgfsPath from class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Rename Attribute | 1 | ||
Rename Attribute writeCompletionFut : IgniteInternalFuture<Boolean> to bufSize : int in class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Extract Variable | 2 | ||
Extract Variable pos : int in method protected checkFileContent(igfs IgfsImpl, file IgfsPath, chunks byte[]...) : void from class org.apache.ignite.internal.processors.igfs.IgfsAbstractSelfTest | From | To | |
Extract Variable newInfo : IgfsEntryInfo in method public process(entry MutableEntry<IgniteUuid,IgfsEntryInfo>, args Object...) : Void from class org.apache.ignite.internal.processors.igfs.meta.IgfsMetaFileUnlockProcessor | From | To | |
Split Parameter | 1 | ||
Split Parameter info : IgfsEntryInfo to [lockId : IgniteUuid, fileId : IgniteUuid] in method public unlock(fileId IgniteUuid, lockId IgniteUuid, modificationTime long, updateSpace boolean, space long, affRange IgfsFileAffinityRange) : void in class org.apache.ignite.internal.processors.igfs.IgfsMetaManager | From | To | |
Change Variable Type | 1 | ||
Change Variable Type os : IgfsEventAwareOutputStream to os : IgfsOutputStreamImpl in method private create0(path IgfsPath, bufSize int, overwrite boolean, affKey IgniteUuid, replication int, props Map<String,String>, simpleCreate boolean) : IgfsOutputStream in class org.apache.ignite.internal.processors.igfs.IgfsImpl | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type writeCompletionFut : IgniteInternalFuture<Boolean> to bufSize : int in class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Extract Method | 1 | ||
Extract Method private flushRemainder() : void extracted from public flush() : void in class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Rename Parameter | 3 | ||
Rename Parameter len : int to writeLen : int in method private send(data Object, writeLen int) : void in class org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl | From | To | |
Rename Parameter fileInfo : IgfsEntryInfo to fileId : IgniteUuid in method public writeStart(fileId IgniteUuid) : IgniteInternalFuture<Boolean> in class org.apache.ignite.internal.processors.igfs.IgfsDataManager | From | To | |
Rename Parameter fileInfo : IgfsEntryInfo to fileId : IgniteUuid in method public writeClose(fileId IgniteUuid, await boolean) : void in class org.apache.ignite.internal.processors.igfs.IgfsDataManager | From | To |