Skip to content

Commit fcbf525

Browse files
committed
Rename the nop service instance to FixedURIServiceInstance
Rename the nop service instance to FixedURIServiceInstance #327
1 parent 2d70174 commit fcbf525

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

springcloud/src/main/java/org/axonframework/extensions/springcloud/commandhandling/mode/AbstractCapabilityDiscoveryMode.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public abstract class AbstractCapabilityDiscoveryMode<B extends CapabilityDiscov
4444
*/
4545
protected AbstractCapabilityDiscoveryMode(Builder<B> builder) {
4646
builder.validate();
47-
localInstance = new AtomicReference<>(NoopUriServiceInstance.INSTANCE);
47+
localInstance = new AtomicReference<>(FixedURIServiceInstance.INSTANCE);
4848
localCapabilities = new AtomicReference<>(DefaultMemberCapabilities.INCAPABLE_MEMBER);
4949
}
5050

@@ -87,9 +87,9 @@ protected abstract static class Builder<B extends CapabilityDiscoveryMode> {
8787
* {@link #updateLocalCapabilities(ServiceInstance, int, CommandMessageFilter)} is never invoked (when an instance
8888
* has zero command handlers) it will still play nicely in the discovery mechanism.
8989
*/
90-
private static class NoopUriServiceInstance extends DefaultServiceInstance {
90+
private static class FixedURIServiceInstance extends DefaultServiceInstance {
9191

92-
private static final ServiceInstance INSTANCE = new NoopUriServiceInstance();
92+
private static final ServiceInstance INSTANCE = new FixedURIServiceInstance();
9393
private static final URI FIXED_URI = URI.create("");
9494

9595
@Override

0 commit comments

Comments
 (0)