69a6a19b9503fbc42366d7293b9729835e47c37a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 4 | ||
Move And Inline Method public getAvailableWithoutFetching() : int moved from class com.datastax.oss.driver.internal.core.cql.MultiPageResultSet to class com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistryIT & inlined to public should_be_able_to_register_and_use_custom_codec_with_generic_type() : void | From | To | |
Move And Inline Method public getAvailableWithoutFetching() : int moved from class com.datastax.oss.driver.internal.core.cql.MultiPageResultSet to class com.datastax.oss.driver.api.core.cql.BatchStatementIT & inlined to public should_execute_batch_of_bound_statements_with_unset_values() : void | From | To | |
Move And Inline Method public getAvailableWithoutFetching() : int moved from class com.datastax.oss.driver.internal.core.cql.MultiPageResultSet to class com.datastax.oss.driver.api.core.cql.ResultSet & inlined to public all() : List<Row> | From | To | |
Move And Inline Method public getAvailableWithoutFetching() : int moved from class com.datastax.oss.driver.internal.core.cql.MultiPageResultSet to class com.datastax.oss.driver.api.core.cql.BatchStatementIT & inlined to private verifyBatchInsert() : void | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type subProcessor : CqlRequestSyncProcessor to subProcessor : CqlRequestAsyncProcessor in method package KeyRequestProcessor(subProcessor CqlRequestAsyncProcessor) in class com.datastax.oss.driver.example.guava.internal.KeyRequestProcessor | From | To | |
Change Parameter Type subHandler : RequestHandler<Statement<?>,ResultSet> to subHandler : RequestHandler<Statement<?>,CompletionStage<AsyncResultSet>> in method package KeyRequestHandler(subHandler RequestHandler<Statement<?>,CompletionStage<AsyncResultSet>>) in class com.datastax.oss.driver.example.guava.internal.KeyRequestProcessor.KeyRequestHandler | From | To | |
Rename Variable | 1 | ||
Rename Variable result : ResultSet to future : CompletionStage<? extends AsyncResultSet> in method public should_use_profile_page_size() : void in class com.datastax.oss.driver.api.core.config.DriverExecutionProfileIT | From | To | |
Inline Method | 1 | ||
Inline Method private fetchNextPage() : void inlined to private maybeMoveToNextPage() : void in class com.datastax.oss.driver.internal.core.cql.MultiPageResultSet.RowIterator | From | To | |
Change Variable Type | 5 | ||
Change Variable Type rows : Iterator<Row> to rows : List<Row> in method private verifyBatchInsert() : void in class com.datastax.oss.driver.api.core.cql.BatchStatementIT | From | To | |
Change Variable Type rows : Iterator<Row> to rows : List<Row> in method public should_execute_batch_of_bound_statements_with_unset_values() : void in class com.datastax.oss.driver.api.core.cql.BatchStatementIT | From | To | |
Change Variable Type rows : Iterator<Row> to rows : List<Row> in method public should_be_able_to_register_and_use_custom_codec_with_generic_type() : void in class com.datastax.oss.driver.api.core.type.codec.registry.CodecRegistryIT | From | To | |
Change Variable Type result : ResultSet to future : CompletionStage<? extends AsyncResultSet> in method public should_use_profile_page_size() : void in class com.datastax.oss.driver.api.core.config.DriverExecutionProfileIT | From | To | |
Change Variable Type subHandler : RequestHandler<Statement<?>,ResultSet> to subHandler : RequestHandler<Statement<?>,CompletionStage<AsyncResultSet>> in method public newHandler(request KeyRequest, session DefaultSession, context InternalDriverContext, sessionLogPrefix String) : RequestHandler<KeyRequest,Integer> in class com.datastax.oss.driver.example.guava.internal.KeyRequestProcessor | From | To | |
Extract Variable | 1 | ||
Extract Variable iterator : Iterator<Row> in method public all() : List<Row> from class com.datastax.oss.driver.api.core.cql.ResultSet | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type subHandler : RequestHandler<Statement<?>,ResultSet> to subHandler : RequestHandler<Statement<?>,CompletionStage<AsyncResultSet>> in class com.datastax.oss.driver.example.guava.internal.KeyRequestProcessor.KeyRequestHandler | From | To | |
Change Attribute Type subProcessor : CqlRequestSyncProcessor to subProcessor : CqlRequestAsyncProcessor in class com.datastax.oss.driver.example.guava.internal.KeyRequestProcessor | From | To |