ea334f5b3b39b80af82f9381b7ac8f1903247118
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 4 | ||
| Change Parameter Type schemaVersion : Integer to configurationSchema : ConfigurationSchemaDto in method protected generateEndpointUserConfiguration(endpointUser EndpointUserDto, applicationDto ApplicationDto, configurationSchema ConfigurationSchemaDto) : EndpointUserConfigurationDto in class org.kaaproject.kaa.server.common.dao.AbstractTest | From | To | |
| Change Parameter Type body : byte[] to body : String in method public setBody(body String) : void in class org.kaaproject.kaa.common.dto.EndpointUserConfigurationDto | From | To | |
| Change Parameter Type body : ByteBuffer to body : String in method public setBody(body String) : void in class org.kaaproject.kaa.server.common.nosql.cassandra.dao.model.CassandraEndpointUserConfiguration | From | To | |
| Change Parameter Type body : byte[] to body : String in method public setBody(body String) : void in class org.kaaproject.kaa.server.common.nosql.mongo.dao.model.MongoEndpointUserConfiguration | From | To | |
| Rename Variable | 3 | ||
| Rename Variable removedVersion : int to schema : ConfigurationSchemaDto in method public removeByUserIdAndAppTokenAndSchemaVersionTest() : void in class org.kaaproject.kaa.server.common.dao.service.UserConfigurationServiceImplTest | From | To | |
| Rename Variable foundVersion : int to schema : ConfigurationSchemaDto in method public findUserConfigurationByUserIdAndAppTokenAndSchemaVersionTest() : void in class org.kaaproject.kaa.server.common.dao.service.UserConfigurationServiceImplTest | From | To | |
| Rename Variable foundVersion : int to schema : ConfigurationSchemaDto in method public findByUserIdAndAppTokenAndSchemaVersionTest() : void in class org.kaaproject.kaa.server.common.nosql.mongo.dao.EndpointUserConfigurationMongoDaoTest | From | To | |
| Change Return Type | 3 | ||
| Change Return Type byte[] to String in method public getBody() : String in class org.kaaproject.kaa.server.common.nosql.mongo.dao.model.MongoEndpointUserConfiguration | From | To | |
| Change Return Type ByteBuffer to String in method public getBody() : String in class org.kaaproject.kaa.server.common.nosql.cassandra.dao.model.CassandraEndpointUserConfiguration | From | To | |
| Change Return Type byte[] to String in method public getBody() : String in class org.kaaproject.kaa.common.dto.EndpointUserConfigurationDto | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type foundVersion : int to schema : ConfigurationSchemaDto in method public findByUserIdAndAppTokenAndSchemaVersionTest() : void in class org.kaaproject.kaa.server.common.nosql.mongo.dao.EndpointUserConfigurationMongoDaoTest | From | To | |
| Change Variable Type foundVersion : int to schema : ConfigurationSchemaDto in method public findUserConfigurationByUserIdAndAppTokenAndSchemaVersionTest() : void in class org.kaaproject.kaa.server.common.dao.service.UserConfigurationServiceImplTest | From | To | |
| Change Variable Type removedVersion : int to schema : ConfigurationSchemaDto in method public removeByUserIdAndAppTokenAndSchemaVersionTest() : void in class org.kaaproject.kaa.server.common.dao.service.UserConfigurationServiceImplTest | From | To | |
| Change Attribute Type | 3 | ||
| Change Attribute Type body : byte[] to body : String in class org.kaaproject.kaa.server.common.nosql.mongo.dao.model.MongoEndpointUserConfiguration | From | To | |
| Change Attribute Type body : byte[] to body : String in class org.kaaproject.kaa.common.dto.EndpointUserConfigurationDto | From | To | |
| Change Attribute Type body : ByteBuffer to body : String in class org.kaaproject.kaa.server.common.nosql.cassandra.dao.model.CassandraEndpointUserConfiguration | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public fromString(data String) : EndpointObjectHash extracted from private getDelta(endpointId String, userId String, deltaKey DeltaCacheKey) : DeltaCacheEntry in class org.kaaproject.kaa.server.operations.service.delta.DefaultDeltaService & moved to class org.kaaproject.kaa.common.hash.EndpointObjectHash | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter schemaVersion : Integer to configurationSchema : ConfigurationSchemaDto in method protected generateEndpointUserConfiguration(endpointUser EndpointUserDto, applicationDto ApplicationDto, configurationSchema ConfigurationSchemaDto) : EndpointUserConfigurationDto in class org.kaaproject.kaa.server.common.dao.AbstractTest | From | To | |
| Rename Parameter dto : EndpointUserConfigurationDto to userConfig : EndpointUserConfigurationDto in method public saveUserConfiguration(userConfig EndpointUserConfigurationDto) : EndpointUserConfigurationDto in class org.kaaproject.kaa.server.common.dao.service.UserConfigurationServiceImpl | From | To |