8453d73e94f0a22de53a4a003c2084e1573ac855
Files Diff
- Added: 7
- Removed: 2
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method public getSchemaInfo() : SchemaInfo from class org.apache.pulsar.client.impl.schema.GenericAvroSchema to public getSchemaInfo() : SchemaInfo from class org.apache.pulsar.client.impl.schema.generic.GenericSchema | From | To | |
Pull Up Method public getAvroSchema() : Schema from class org.apache.pulsar.client.impl.schema.GenericAvroSchema to public getAvroSchema() : Schema from class org.apache.pulsar.client.impl.schema.generic.GenericSchema | From | To | |
Rename Variable | 2 | ||
Rename Variable genericAvroSchema : GenericAvroSchema to genericSchema : GenericSchema in method private singleTopicSubscribeAsync(conf ConsumerConfigurationData<T>, schema Schema<T>) : CompletableFuture<Consumer<T>> in class org.apache.pulsar.client.impl.PulsarClientImpl | From | To | |
Rename Variable genericAvroSchema : GenericAvroSchema to genericSchema : GenericSchema in method public createReaderAsync(conf ReaderConfigurationData<T>, schema Schema<T>) : CompletableFuture<Reader<T>> in class org.apache.pulsar.client.impl.PulsarClientImpl | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private fields : List<Field> from class org.apache.pulsar.client.impl.schema.GenericAvroSchema to protected fields : List<Field> from class org.apache.pulsar.client.impl.schema.generic.GenericSchema | From | To | |
Pull Up Attribute private schemaInfo : SchemaInfo from class org.apache.pulsar.client.impl.schema.GenericAvroSchema to protected schemaInfo : SchemaInfo from class org.apache.pulsar.client.impl.schema.generic.GenericSchema | From | To | |
Pull Up Attribute private schema : org.apache.avro.Schema from class org.apache.pulsar.client.impl.schema.GenericAvroSchema to protected schema : org.apache.avro.Schema from class org.apache.pulsar.client.impl.schema.generic.GenericSchema | From | To | |
Move Attribute | 4 | ||
Move Attribute private SCHEMA_JSON : String from class org.apache.pulsar.client.schema.AvroSchemaTest to public SCHEMA_JSON : String from class org.apache.pulsar.client.schema.SchemaTestUtils | From | To | |
Move Attribute private SCHEMA_JSON : String from class org.apache.pulsar.client.schema.JSONSchemaTest to public SCHEMA_JSON : String from class org.apache.pulsar.client.schema.SchemaTestUtils | From | To | |
Move Attribute private FOO_FIELDS : String[] from class org.apache.pulsar.client.schema.AvroSchemaTest to public FOO_FIELDS : String[] from class org.apache.pulsar.client.schema.SchemaTestUtils | From | To | |
Move Attribute private FOO_FIELDS : String[] from class org.apache.pulsar.client.schema.JSONSchemaTest to public FOO_FIELDS : String[] from class org.apache.pulsar.client.schema.SchemaTestUtils | From | To | |
Extract Class | 2 | ||
Extract Class org.apache.pulsar.client.schema.SchemaTestUtils from class org.apache.pulsar.client.schema.AvroSchemaTest | From | To | |
Extract Class org.apache.pulsar.client.schema.SchemaTestUtils from class org.apache.pulsar.client.schema.JSONSchemaTest | From | To | |
Move Class | 4 | ||
Move Class org.apache.pulsar.client.impl.schema.GenericAvroSchema moved to org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema | From | To | |
Move Class org.apache.pulsar.client.schema.AvroSchemaTest.Foo moved to org.apache.pulsar.client.schema.SchemaTestUtils.Foo | From | To | |
Move Class org.apache.pulsar.client.impl.schema.GenericAvroRecord moved to org.apache.pulsar.client.impl.schema.generic.GenericAvroRecord | From | To | |
Move Class org.apache.pulsar.client.schema.AvroSchemaTest.Bar moved to org.apache.pulsar.client.schema.SchemaTestUtils.Bar | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.pulsar.client.impl.schema.generic.GenericSchema from classes [org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema] | From | To | |
Extract Variable | 1 | ||
Extract Variable decoder : Decoder in method public decode(bytes byte[]) : GenericRecord from class org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema | From | To | |
Change Variable Type | 2 | ||
Change Variable Type genericAvroSchema : GenericAvroSchema to genericSchema : GenericSchema in method private singleTopicSubscribeAsync(conf ConsumerConfigurationData<T>, schema Schema<T>) : CompletableFuture<Consumer<T>> in class org.apache.pulsar.client.impl.PulsarClientImpl | From | To | |
Change Variable Type genericAvroSchema : GenericAvroSchema to genericSchema : GenericSchema in method public createReaderAsync(conf ReaderConfigurationData<T>, schema Schema<T>) : CompletableFuture<Reader<T>> in class org.apache.pulsar.client.impl.PulsarClientImpl | From | To |