0fc83c5df99c0abc8305a6d9e3d69203bd00017b
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private combine(endpointId String, requestId String) : String renamed to private generateKey(endpointId String, requestId String) : String in class org.eclipse.che.api.core.jsonrpc.commons.ResponseDispatcher | From | To | |
Change Return Type | 2 | ||
Change Return Type BiConsumer<String,R> to Optional<BiConsumer<String,R>> in method package getSuccessConsumer() : Optional<BiConsumer<String,R>> in class org.eclipse.che.api.core.jsonrpc.commons.JsonRpcPromise | From | To | |
Change Return Type BiConsumer<String,JsonRpcError> to Optional<BiConsumer<String,JsonRpcError>> in method package getFailureConsumer() : Optional<BiConsumer<String,JsonRpcError>> in class org.eclipse.che.api.core.jsonrpc.commons.JsonRpcPromise | From | To | |
Extract Method | 23 | ||
Extract Method public sendAndReceiveResultAsListOfString(timeoutInMillis int) : JsonRpcPromise<List<String>> extracted from public sendAndReceiveResultAsListOfString() : JsonRpcPromise<List<String>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromMany | From | To | |
Extract Method public sendAndReceiveResultAsBoolean(timeoutInMillis int) : JsonRpcPromise<Boolean> extracted from public sendAndReceiveResultAsBoolean() : JsonRpcPromise<Boolean> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromMany | From | To | |
Extract Method public sendAndReceiveResultAsListOfBoolean(timeInMillis int) : JsonRpcPromise<List<Boolean>> extracted from public sendAndReceiveResultAsListOfBoolean() : JsonRpcPromise<List<Boolean>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To | |
Extract Method public sendAndReceiveResultAsDto(rClass Class<R>, timeInMillis int) : JsonRpcPromise<R> extracted from public sendAndReceiveResultAsDto(rClass Class<R>) : JsonRpcPromise<R> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To | |
Extract Method public sendAndReceiveResultAsDouble(timeInMillis int) : JsonRpcPromise<Double> extracted from public sendAndReceiveResultAsDouble() : JsonRpcPromise<Double> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To | |
Extract Method public sendAndReceiveResultAsListOfString(timeInMillis int) : JsonRpcPromise<List<String>> extracted from public sendAndReceiveResultAsListOfString() : JsonRpcPromise<List<String>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To | |
Extract Method public sendAndReceiveResultAsEmpty(timeoutInMillis int) : JsonRpcPromise<Void> extracted from public sendAndReceiveResultAsEmpty() : JsonRpcPromise<Void> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsBoolean(timeoutInMillis int) : JsonRpcPromise<Boolean> extracted from public sendAndReceiveResultAsBoolean() : JsonRpcPromise<Boolean> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsListOfDto(rClass Class<R>, timeoutInMillis int) : JsonRpcPromise<List<R>> extracted from public sendAndReceiveResultAsListOfDto(rClass Class<R>) : JsonRpcPromise<List<R>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromMany | From | To | |
Extract Method public sendAndReceiveResultAsListOfBoolean(timeoutInMillis int) : JsonRpcPromise<List<Boolean>> extracted from public sendAndReceiveResultAsListOfBoolean() : JsonRpcPromise<List<Boolean>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromMany | From | To | |
Extract Method public sendAndReceiveResultAsDto(rClass Class<R>, timeoutInMillis int) : JsonRpcPromise<R> extracted from public sendAndReceiveResultAsDto(rClass Class<R>) : JsonRpcPromise<R> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromMany | From | To | |
Extract Method public sendAndReceiveResultAsString(timeInMillis int) : JsonRpcPromise<String> extracted from public sendAndReceiveResultAsString() : JsonRpcPromise<String> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To | |
Extract Method public sendAndReceiveResultAsListOfString(timeoutInMillis int) : JsonRpcPromise<List<String>> extracted from public sendAndReceiveResultAsListOfString() : JsonRpcPromise<List<String>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsListOfDto(rClass Class<R>, timeInMillis int) : JsonRpcPromise<List<R>> extracted from public sendAndReceiveResultAsListOfDto(rClass Class<R>) : JsonRpcPromise<List<R>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To | |
Extract Method public sendAndReceiveResultAsEmpty(timeoutInMillis int) : JsonRpcPromise<Void> extracted from public sendAndReceiveResultAsEmpty() : JsonRpcPromise<Void> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromMany | From | To | |
Extract Method public sendAndReceiveResultAsListOfBoolean(timeoutInMillis int) : JsonRpcPromise<List<Boolean>> extracted from public sendAndReceiveResultAsListOfBoolean() : JsonRpcPromise<List<Boolean>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsDto(rClass Class<R>, timeoutInMillis int) : JsonRpcPromise<R> extracted from public sendAndReceiveResultAsDto(rClass Class<R>) : JsonRpcPromise<R> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsString(timeoutInMillis int) : JsonRpcPromise<String> extracted from public sendAndReceiveResultAsString() : JsonRpcPromise<String> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsDouble(timeoutInMillis int) : JsonRpcPromise<Double> extracted from public sendAndReceiveResultAsDouble() : JsonRpcPromise<Double> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsBoolean(timeInMillis int) : JsonRpcPromise<Boolean> extracted from public sendAndReceiveResultAsBoolean() : JsonRpcPromise<Boolean> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To | |
Extract Method public sendAndReceiveResultAsString(timeoutInMillis int) : JsonRpcPromise<String> extracted from public sendAndReceiveResultAsString() : JsonRpcPromise<String> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromMany | From | To | |
Extract Method public sendAndReceiveResultAsListOfDto(rClass Class<R>, timeoutInMillis int) : JsonRpcPromise<List<R>> extracted from public sendAndReceiveResultAsListOfDto(rClass Class<R>) : JsonRpcPromise<List<R>> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromOne | From | To | |
Extract Method public sendAndReceiveResultAsEmpty(timeInMillis int) : JsonRpcPromise<Void> extracted from public sendAndReceiveResultAsEmpty() : JsonRpcPromise<Void> in class org.eclipse.che.api.core.jsonrpc.commons.transmission.SendConfiguratorFromNone | From | To |