File tree Expand file tree Collapse file tree 3 files changed +2
-18
lines changed
services-api/src/main/java/io/scalecube/services
services-discovery/src/test/java/io/scalecube/services/discovery
services-transport-parent/services-transport-rsocket Expand file tree Collapse file tree 3 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public ServiceEndpoint() {}
3737
3838 private ServiceEndpoint (Builder builder ) {
3939 this .id = Objects .requireNonNull (builder .id );
40- this .address = Objects . requireNonNull ( builder .address ) ;
40+ this .address = builder .address ;
4141 this .contentTypes = Collections .unmodifiableSet (new HashSet <>(builder .contentTypes ));
4242 this .tags = Collections .unmodifiableMap (new HashMap <>(builder .tags ));
4343 this .serviceRegistrations =
Original file line number Diff line number Diff line change @@ -143,10 +143,7 @@ public void testEndpointIsRestarted() {
143143 }
144144
145145 public static ServiceEndpoint newServiceEndpoint () {
146- return ServiceEndpoint .builder ()
147- .id ("" + ID_COUNTER .incrementAndGet ())
148- .address (Address .from ("localhost:80" ))
149- .build ();
146+ return ServiceEndpoint .builder ().id ("" + ID_COUNTER .incrementAndGet ()).build ();
150147 }
151148
152149 private Mono <ServiceDiscovery > newServiceDiscovery (Address seedAddress ) {
Original file line number Diff line number Diff line change 3838 <groupId >io.projectreactor.netty</groupId >
3939 <artifactId >reactor-netty</artifactId >
4040 </dependency >
41-
42- <dependency >
43- <groupId >com.fasterxml.jackson.core</groupId >
44- <artifactId >jackson-core</artifactId >
45- </dependency >
46- <dependency >
47- <groupId >com.fasterxml.jackson.core</groupId >
48- <artifactId >jackson-databind</artifactId >
49- </dependency >
50- <dependency >
51- <groupId >com.fasterxml.jackson.datatype</groupId >
52- <artifactId >jackson-datatype-jsr310</artifactId >
53- </dependency >
5441 </dependencies >
5542
5643</project >
You can’t perform that action at this time.
0 commit comments