Skip to content
Snippets Groups Projects
Commit 1ecfb5b6 authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-6354 rename consisting -> consistent

parent 24f8c388
Branches
Tags
No related merge requests found
......@@ -4,7 +4,7 @@ import io.grpc.stub.AbstractStub;
import lombok.Builder;
@Builder
class ConsistingStub<T extends AbstractStub<?>> implements ManagableStub<T> {
class ConsistentStub<T extends AbstractStub<?>> implements ManagableStub<T> {
private T stub;
......
......@@ -136,12 +136,12 @@ public class VorgangManagerServerResolver {
var channelName = getChannelName(organisationsEinheitId);
var stub = stubFactory.createStub(stubClass, createChannelByName(channelName));
stub = applyStubTransformers(stub, channelName);
return buildConsistingStub(stub);
return buildConsistentStub(stub);
}
@SuppressWarnings("unchecked")
private <T extends AbstractStub<?>> ConsistingStub<T> buildConsistingStub(AbstractStub<?> stub) {
return ConsistingStub.<T>builder().stub((T) stub).build();
private <T extends AbstractStub<?>> ConsistentStub<T> buildConsistentStub(AbstractStub<?> stub) {
return ConsistentStub.<T>builder().stub((T) stub).build();
}
String getChannelName(Optional<String> organisationsEinheitId) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment