Skip to content

Commit 3893098

Browse files
justineechengkwan-ibm
authored andcommitted
Removed @dependent annotation from MP Rest Client (#61)
1 parent 1c3356f commit 3893098

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: finish/src/main/java/io/openliberty/guides/inventory/client/SystemClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
2525

2626
// tag::annotations[]
27-
@Dependent
27+
2828
@RegisterRestClient
2929
@RegisterProvider(UnknownUrlExceptionMapper.class)
3030
@Path("/properties")

Diff for: start/src/main/java/io/openliberty/guides/inventory/client/SystemClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
2525

2626
// tag::annotations[]
27-
@Dependent
27+
2828
@RegisterRestClient
2929
@RegisterProvider(UnknownUrlExceptionMapper.class)
3030
@Path("/properties")

0 commit comments

Comments
 (0)