Skip to content

Commit 60c6f10

Browse files
committed
Fix typo in JAX-RS::Async-Client description
1 parent 96af24a commit 60c6f10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jaxrs/async-client/src/test/java/org/javaee7/jaxrs/asyncclient/MyResourceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void setUpClass() throws MalformedURLException {
9999
public void testPollingResponse() throws InterruptedException, ExecutionException {
100100
Future<Response> r1 = target.request().async().get(); // <1> Build an asynchronous request handler for the +Response+ object
101101
String response = r1.get().readEntity(String.class); // <2> Read the entity from the body of the +Response+
102-
assertEquals("apple", response); // <3> Validate we go the expected value
102+
assertEquals("apple", response); // <3> Validate we got the expected value
103103
}
104104

105105
/**
@@ -109,7 +109,7 @@ public void testPollingResponse() throws InterruptedException, ExecutionExceptio
109109
public void testPollingString() throws InterruptedException, ExecutionException {
110110
Future<String> r1 = target.request().async().get(String.class); // <1> Build an asynchronous request handler for the body of the +Response+
111111
String response = r1.get(); // <2> Read the entity directly from the +Future+
112-
assertEquals("apple", response); // <3> Validate we go the expected value
112+
assertEquals("apple", response); // <3> Validate we got the expected value
113113
}
114114

115115
/**

0 commit comments

Comments
 (0)