c855fbb323d256049a869bb6a7c24cbeef28f0b7
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public toByteArray() : byte[] renamed to public getBytes() : byte[] in class tachyon.worker.keyvalue.LinearProbingIndex | From | To | |
Rename Method public toByteArray() : byte[] renamed to public getBytes() : byte[] in class tachyon.worker.keyvalue.Index | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public count() : int from class tachyon.client.file.FileOutStream to public getCount() : int from class tachyon.client.file.AbstractOutStream | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type fileOutStream : FileOutStream to fileOutStream : AbstractOutStream in method public KeyValueFileWriterImpl(fileOutStream AbstractOutStream) in class tachyon.client.keyvalue.KeyValueFileWriterImpl | From | To | |
Rename Variable | 2 | ||
Rename Variable index : int to bucketIndex : int in method public get(key byte[], reader PayloadReader) : byte[] in class tachyon.worker.keyvalue.LinearProbingIndex | From | To | |
Rename Variable index : int to bucketIndex : int in method public put(key byte[], value byte[], writer PayloadWriter) : boolean in class tachyon.worker.keyvalue.LinearProbingIndex | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute protected mCount : int from class tachyon.client.file.FileOutStream to protected mCount : int from class tachyon.client.file.AbstractOutStream | From | To | |
Change Return Type | 1 | ||
Change Return Type void to int in method public addKeyAndValue(key byte[], value byte[]) : int in class tachyon.worker.keyvalue.PayloadWriter | From | To | |
Rename Class | 1 | ||
Rename Class tachyon.worker.keyvalue.Utils.MockOutputStream renamed to tachyon.worker.keyvalue.Utils.MockOutStream | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute payloadWriter : PayloadWriter to mPayloadWriter : PayloadWriter in method public getInsertedKeysTest() : void in class tachyon.worker.keyvalue.LinearProbingIndexTest | From | To | |
Replace Variable With Attribute mockOutput : Utils.MockOutputStream to mOutStream : Utils.MockOutStream in method public getInsertedKeysTest() : void in class tachyon.worker.keyvalue.LinearProbingIndexTest | From | To | |
Extract Superclass | 1 | ||
Extract Superclass tachyon.client.file.AbstractOutStream from classes [tachyon.client.file.FileOutStream] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute mOutputStream : OutputStream to mOutStream : AbstractOutStream in class tachyon.worker.keyvalue.PayloadWriter | From | To | |
Rename Attribute mTestOutput : Utils.MockOutputStream to mTestOutStream : Utils.MockOutStream in class tachyon.worker.keyvalue.PayloadReaderWriterTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type mockOutput : Utils.MockOutputStream to mOutStream : Utils.MockOutStream in method public getInsertedKeysTest() : void in class tachyon.worker.keyvalue.LinearProbingIndexTest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type mFileOutStream : FileOutStream to mFileOutStream : AbstractOutStream in class tachyon.client.keyvalue.KeyValueFileWriterImpl | From | To | |
Change Attribute Type mOutputStream : OutputStream to mOutStream : AbstractOutStream in class tachyon.worker.keyvalue.PayloadWriter | From | To | |
Change Attribute Type mTestOutput : Utils.MockOutputStream to mTestOutStream : Utils.MockOutStream in class tachyon.worker.keyvalue.PayloadReaderWriterTest | From | To |