ae1e2c546dd923dfa306e661e92c37123263db58
Files Diff
- Added: 4
- Removed: 8
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 7 | ||
Change Parameter Type record : SuperRecord to record : Log in method public LogRecord(record Log) in class org.kaaproject.kaa.client.logging.LogRecord | From | To | |
Change Parameter Type other : SuperRecord.Builder to other : Log.Builder in method private Builder(other Log.Builder) in class org.kaaproject.kaa.schema.base.Log.Builder | From | To | |
Change Parameter Type other : SuperRecord.Builder to other : Log.Builder in method public newBuilder(other Log.Builder) : Log.Builder in class org.kaaproject.kaa.schema.base.Log | From | To | |
Change Parameter Type other : SuperRecord to other : Log in method public newBuilder(other Log) : Log.Builder in class org.kaaproject.kaa.schema.base.Log | From | To | |
Change Parameter Type record : SuperRecord to record : Log in method public addLogRecord(record Log) : void in class org.kaaproject.kaa.client.logging.DefaultLogCollector | From | To | |
Change Parameter Type record : SuperRecord to record : Log in method public addLogRecord(record Log) : void in class org.kaaproject.kaa.client.logging.LogCollector | From | To | |
Change Parameter Type other : SuperRecord to other : Log in method private Builder(other Log) in class org.kaaproject.kaa.schema.base.Log.Builder | From | To | |
Move Method | 1 | ||
Move Method public onFailure(code LogDeliveryErrorCode) : void from class org.kaaproject.kaa.client.logging.DefaultLogUploadFailoverStrategy to public onFailure(controller LogFailoverCommand, code LogDeliveryErrorCode) : void from class org.kaaproject.kaa.client.logging.DefaultLogUploadStrategy | From | To | |
Change Return Type | 4 | ||
Change Return Type SuperRecord.Builder to Log.Builder in method public newBuilder() : Log.Builder in class org.kaaproject.kaa.schema.base.Log | From | To | |
Change Return Type SuperRecord.Builder to Log.Builder in method public newBuilder(other Log) : Log.Builder in class org.kaaproject.kaa.schema.base.Log | From | To | |
Change Return Type SuperRecord.Builder to Log.Builder in method public newBuilder(other Log.Builder) : Log.Builder in class org.kaaproject.kaa.schema.base.Log | From | To | |
Change Return Type SuperRecord to Log in method public build() : Log in class org.kaaproject.kaa.schema.base.Log.Builder | From | To | |
Move Attribute | 3 | ||
Move Attribute public MAX_STORAGE_SIZE : int from class org.kaaproject.kaa.client.logging.DefaultLogUploadConfiguration.Builder to private MAX_STORAGE_SIZE : int from class org.kaaproject.kaa.client.logging.MemoryLogStorage | From | To | |
Move Attribute private channelManager : KaaChannelManager from class org.kaaproject.kaa.client.logging.DefaultLogUploadFailoverStrategy to private channelManager : KaaChannelManager from class org.kaaproject.kaa.client.logging.DefaultLogCollector | From | To | |
Move Attribute public MAX_BATCH_VOLUME : long from class org.kaaproject.kaa.client.logging.DefaultLogUploadConfiguration to public MAX_BATCH_VOLUME : long from class org.kaaproject.kaa.client.logging.DefaultLogCollector | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.kaaproject.kaa.client.logging.gen.SuperRecord moved and renamed to org.kaaproject.kaa.schema.base.Log | From | To | |
Move And Rename Class org.kaaproject.kaa.client.logging.gen.SuperRecord.Builder moved and renamed to org.kaaproject.kaa.schema.base.Log.Builder | From | To | |
Rename Attribute | 1 | ||
Rename Attribute uploadStrategy : LogUploadStrategy to strategy : LogUploadStrategy in class org.kaaproject.kaa.client.logging.DefaultLogCollector | From | To | |
Change Variable Type | 2 | ||
Change Variable Type record : SuperRecord to record : Log in method public build() : Log in class org.kaaproject.kaa.schema.base.Log.Builder | From | To | |
Change Variable Type record : SuperRecord to record : Log in method public testNewLogUploadConfiguration() : void in class org.kaaproject.kaa.client.logging.DefaultLogCollectorTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type CONVERTER : ThreadLocal<AvroByteArrayConverter<SuperRecord>> to CONVERTER : ThreadLocal<AvroByteArrayConverter<Log>> in class org.kaaproject.kaa.client.logging.LogRecord | From | To | |
Inline Variable | 1 | ||
Inline Variable consumedVolume : long in method public isUploadNeeded(configuration LogUploadConfiguration, status LogStorageStatus) : LogUploadStrategyDecision from class org.kaaproject.kaa.client.logging.DefaultLogUploadStrategy | From | To | |
Split Attribute | 1 | ||
Split Attribute failoverStrategy : LogUploadFailoverStrategy to [strategy : LogUploadStrategy, controller : LogFailoverCommand] in class org.kaaproject.kaa.client.logging.DefaultLogCollector | From | To |