6fc60a147dc8a6b6eb21af4ab5efdd1078be635a
Files Diff
- Added: 17
- Removed: 13
- Renamed: 0
- Modified: 53
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public performanceTestShort() : void renamed to public performanceTestObjectSerialization() : void in class com.thinkaurelius.titan.graphdb.serializer.SerializerSpeedTest | From | To | |
| Rename Method protected longWrite() : void renamed to protected multipleStringWrite() : void in class com.thinkaurelius.titan.graphdb.serializer.SerializerTestCommon | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method public registerClass(datatype Class<V>, handler AttributeHandler<V>) : void from class com.thinkaurelius.titan.graphdb.database.serialize.StandardAttributeHandling to public registerClassInternal(registrationNo int, datatype Class<V>, serializer AttributeSerializer<V>) : void from class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Change Parameter Type | 11 | ||
| Change Parameter Type attributeHandler : AttributeHandling to attributeHandler : AttributeHandler in method public StandardEdgeLabelMaker(tx StandardTitanTx, name String, indexSerializer IndexSerializer, attributeHandler AttributeHandler) in class com.thinkaurelius.titan.graphdb.types.StandardEdgeLabelMaker | From | To | |
| Change Parameter Type buffer : ReadBuffer to buffer : ScanBuffer in method public readObjectByteOrder(buffer ScanBuffer, type Class<T>) : T in class com.thinkaurelius.titan.graphdb.database.serialize.Serializer | From | To | |
| Change Parameter Type buffer : ReadBuffer to buffer : ScanBuffer in method public readObjectByteOrder(buffer ScanBuffer, type Class<T>) : T in class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Change Parameter Type buffer : ReadBuffer to buffer : ScanBuffer in method public readObject(buffer ScanBuffer, type Class<T>) : T in class com.thinkaurelius.titan.graphdb.database.serialize.Serializer | From | To | |
| Change Parameter Type buffer : ReadBuffer to buffer : ScanBuffer in method public readObject(buffer ScanBuffer, type Class<T>) : T in class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Change Parameter Type attributeHandler : AttributeHandling to attributeHandler : AttributeHandler in method public StandardRelationTypeMaker(tx StandardTitanTx, name String, indexSerializer IndexSerializer, attributeHandler AttributeHandler) in class com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker | From | To | |
| Change Parameter Type serializer : AttributeHandler<T> to serializer : AttributeSerializer<T> in method public RegisteredAttributeClass(position int, type Class<T>, serializer AttributeSerializer<T>) in class com.thinkaurelius.titan.graphdb.configuration.RegisteredAttributeClass | From | To | |
| Change Parameter Type buffer : ReadBuffer to buffer : ScanBuffer in method public readObjectNotNull(buffer ScanBuffer, type Class<T>) : T in class com.thinkaurelius.titan.graphdb.database.serialize.Serializer | From | To | |
| Change Parameter Type buffer : ReadBuffer to buffer : ScanBuffer in method public readObjectNotNull(buffer ScanBuffer, type Class<T>) : T in class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Change Parameter Type attributeHandler : AttributeHandling to attributeHandler : AttributeHandler in method public StandardPropertyKeyMaker(tx StandardTitanTx, name String, indexSerializer IndexSerializer, attributeHandler AttributeHandler) in class com.thinkaurelius.titan.graphdb.types.StandardPropertyKeyMaker | From | To | |
| Change Parameter Type buffer : ReadBuffer to buffer : ScanBuffer in method private readObjectInternal(buffer ScanBuffer, type Class<T>, byteOrder boolean) : T in class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Move Method | 3 | ||
| Move Method public verifyAttribute(datatype Class<V>, value Object) : void from class com.thinkaurelius.titan.graphdb.database.serialize.StandardAttributeHandling to public verifyAttribute(datatype Class<V>, value Object) : void from class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Move Method public convert(datatype Class<V>, value Object) : V from class com.thinkaurelius.titan.graphdb.database.serialize.StandardAttributeHandling to public convert(datatype Class<V>, value Object) : V from class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Move Method public isOrderPreservingDatatype(datatype Class<?>) : boolean from class com.thinkaurelius.titan.graphdb.database.serialize.StandardAttributeHandling to public isOrderPreservingDatatype(datatype Class<?>) : boolean from class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Rename Variable | 3 | ||
| Rename Variable testmap : HashMap<String,Integer> to testarr : int[] in method public testDataTypes() : void in class com.thinkaurelius.titan.graphdb.TitanGraphTest | From | To | |
| Rename Variable l : Long to t1 : TClass1 in method public testObjectVerification() : void in class com.thinkaurelius.titan.graphdb.serializer.SerializerTest | From | To | |
| Rename Variable c : TestClass to t4 : TEnum in method protected objectWriteRead() : void in class com.thinkaurelius.titan.graphdb.serializer.SerializerTestCommon | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private DEFAULT_REGISTRATIONS : List<Class> from class com.thinkaurelius.titan.graphdb.database.serialize.StandardAttributeHandling to private DEFAULT_REGISTRATIONS : List<Class> from class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer | From | To | |
| Rename Class | 1 | ||
| Rename Class com.thinkaurelius.titan.graphdb.database.serialize.AttributeHandling renamed to com.thinkaurelius.titan.graphdb.database.serialize.AttributeHandler | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute s : Serializer to serialize : Serializer in method public testObjectVerification() : void in class com.thinkaurelius.titan.graphdb.serializer.SerializerTest | From | To | |
| Extract Variable | 2 | ||
| Extract Variable value : long in method public parallelDeserialization() : void from class com.thinkaurelius.titan.graphdb.serializer.SerializerTest | From | To | |
| Extract Variable type : Class in method private writeObjectNotNullInternal(object Object, byteOrder boolean) : DataOutput from class com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer.StandardDataOutput | From | To | |
| Change Variable Type | 6 | ||
| Change Variable Type c : TestClass to t4 : TEnum in method protected objectWriteRead() : void in class com.thinkaurelius.titan.graphdb.serializer.SerializerTestCommon | From | To | |
| Change Variable Type prop : TitanVertexProperty<Precision> to prop : TitanVertexProperty<Double> in method public testSchemaTypes() : void in class com.thinkaurelius.titan.graphdb.TitanGraphTest | From | To | |
| Change Variable Type testmap : HashMap<String,Integer> to testarr : int[] in method public testDataTypes() : void in class com.thinkaurelius.titan.graphdb.TitanGraphTest | From | To | |
| Change Variable Type serializer : AttributeHandler<?> to serializer : AttributeSerializer<?> in method public getRegisteredAttributeClasses(configuration Configuration) : List<RegisteredAttributeClass<?>> in class com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration | From | To | |
| Change Variable Type l : Long to t1 : TClass1 in method public testObjectVerification() : void in class com.thinkaurelius.titan.graphdb.serializer.SerializerTest | From | To | |
| Inline Variable | 2 | ||
| Inline Variable str2 : String in method protected objectWriteRead() : void from class com.thinkaurelius.titan.graphdb.serializer.SerializerTestCommon | From | To | |
| Inline Variable c2 : TestClass in method protected objectWriteRead() : void from class com.thinkaurelius.titan.graphdb.serializer.SerializerTestCommon | From | To | |
| Change Attribute Type | 5 | ||
| Change Attribute Type LOCK_MODE : ConfigOption<LockMode> to LOCK_MODE : ConfigOption<String> in class com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager | From | To | |
| Change Attribute Type attributeHandler : AttributeHandling to attributeHandler : AttributeHandler in class com.thinkaurelius.titan.graphdb.types.StandardRelationTypeMaker | From | To | |
| Change Attribute Type attributeHandler : AttributeHandling to attributeHandler : AttributeHandler in class com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx | From | To | |
| Change Attribute Type serializer : AttributeHandler<T> to serializer : AttributeSerializer<T> in class com.thinkaurelius.titan.graphdb.configuration.RegisteredAttributeClass | From | To | |
| Change Attribute Type ISOLATION_LEVEL : ConfigOption<IsolationLevel> to ISOLATION_LEVEL : ConfigOption<String> in class com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager | From | To |