308d24d679e1ecb37fda8d25aa9ff35dbeccf94f
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testGenerateDefaultConfigurationFailsForSchemaWithMissedByDefault() : void renamed to public testConfigurationGenerationFailedForSchemaWithUnsuitableDefault() : void in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultGenerationAlgorithmTest | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private copyProps(src JsonProperties, dst JsonProperties) : void from class org.kaaproject.kaa.server.common.core.algorithms.schema.SchemaCreatorImpl to public copyJsonProperties(src JsonProperties, dst JsonProperties) : void from class org.kaaproject.kaa.server.common.core.algorithms.CommonUtils | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type schemaNode : Map<String,Object> to schemaNode : Schema in method private processRecord(schemaNode Schema) : Object in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultRecordGenerationAlgorithmImpl | From | To | |
Change Parameter Type configurationSchema : KaaSchema to types : Map<String,Schema> in method public ArrayOverrideStrategyResolver(types Map<String,Schema>) in class org.kaaproject.kaa.server.common.core.algorithms.override.ArrayOverrideStrategyResolver | From | To | |
Change Parameter Type schemaNode : Map<String,Object> to schemaNode : Schema in method private processArray(schemaNode Schema) : Object in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultRecordGenerationAlgorithmImpl | From | To | |
Change Parameter Type fieldDefinition : Map<String,Object> to fieldDefinition : Field in method private processField(fieldDefinition Field) : Object in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultRecordGenerationAlgorithmImpl | From | To | |
Change Parameter Type schemaNode : Map<String,Object> to schemaNode : Schema in method private processEnum(schemaNode Schema) : Object in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultRecordGenerationAlgorithmImpl | From | To | |
Move Method | 1 | ||
Move Method private isComplexSchema(schema Schema) : boolean from class org.kaaproject.kaa.server.common.core.algorithms.schema.SchemaCreatorImpl to public isComplexSchema(schema Schema) : boolean from class org.kaaproject.kaa.server.common.core.algorithms.CommonUtils | From | To | |
Rename Attribute | 1 | ||
Rename Attribute schemaRoot : Map<String,Object> to schemaTypes : Map<String,Schema> in class org.kaaproject.kaa.server.common.core.algorithms.override.ArrayOverrideStrategyResolver | From | To | |
Change Variable Type | 2 | ||
Change Variable Type field : Object to field : Field in method private processRecord(schemaNode Schema) : Object in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultRecordGenerationAlgorithmImpl | From | To | |
Change Variable Type generatedConfiguration : KaaData to generatedConfiguration : GenericRecord in method public testGetRootBinaryConfigurationFailsWhenByDefauleIsMissed() : void in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultGenerationAlgorithmTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type processedTypes : Map<String,Object> to processedTypes : Map<String,GenericRecord> in class org.kaaproject.kaa.server.common.core.algorithms.generation.DefaultRecordGenerationAlgorithmImpl | From | To | |
Change Attribute Type schemaRoot : Map<String,Object> to schemaTypes : Map<String,Schema> in class org.kaaproject.kaa.server.common.core.algorithms.override.ArrayOverrideStrategyResolver | From | To | |
Rename Parameter | 1 | ||
Rename Parameter configurationSchema : KaaSchema to types : Map<String,Schema> in method public ArrayOverrideStrategyResolver(types Map<String,Schema>) in class org.kaaproject.kaa.server.common.core.algorithms.override.ArrayOverrideStrategyResolver | From | To |