Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 2a02bed

Browse files
committed
JERSEY-2470: "Typographical error in documentation"
bellow -> below Change-Id: I9810fcb291b747583835a86d0083a4d0b9e4e1a9
1 parent 63c7842 commit 2a02bed

File tree

22 files changed

+34
-34
lines changed

22 files changed

+34
-34
lines changed

containers/grizzly2-http/src/main/java/org/glassfish/jersey/grizzly2/httpserver/GrizzlyHttpServerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
* Should you need to fine tune the underlying Grizzly transport layer, you can obtain direct access to the corresponding
6161
* Grizzly structures with <tt>server.getListener("grizzly").getTransport()</tt>. To make certain options take effect,
6262
* you need to work with an inactive HttpServer instance (that is the one that has not been started yet).
63-
* To obtain such an instance, use one of the bellow factory methods with {@code start} parameter set to {@code false}.
63+
* To obtain such an instance, use one of the below factory methods with {@code start} parameter set to {@code false}.
6464
* When the {@code start} parameter is not present, the factory method returns an already started instance.
6565
* </p>
6666
*

containers/jersey-servlet-core/src/main/java/org/glassfish/jersey/servlet/ServletContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ protected void service(HttpServletRequest request, HttpServletResponse response)
262262
// and somebody would want to hit the root resource without the trailing slash
263263
int i = servletPath.lastIndexOf('/');
264264
if (servletPath.substring(i + 1).indexOf('.') < 0) {
265-
// TODO (+ handle request URL with invalid characters - see the creation of absoluteUriBuilder bellow)
265+
// TODO (+ handle request URL with invalid characters - see the creation of absoluteUriBuilder below)
266266
// if (webComponent.getResourceConfig().getFeature(ResourceConfig.FEATURE_REDIRECT)) {
267267
// URI l = UriBuilder.fromUri(request.getRequestURL().toString()).
268268
// path("/").

core-client/src/main/java/org/glassfish/jersey/client/ClientRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public void writeEntity() throws IOException {
518518
// In that case, exception is rethrown and the connectionFailed flag is set to prevent the attempt to commit.
519519
// Calling commitStream() would lead to another wait time and the final timeout time would be twice as long
520520
// as described in JERSEY-1984. Depending on a system and configuration, NoRouteToHostException may be thrown
521-
// instead of SocketTimeoutException (see bellow).
521+
// instead of SocketTimeoutException (see below).
522522
connectionFailed = true;
523523
throw e;
524524
} catch (NoRouteToHostException e) {

core-common/src/test/java/org/glassfish/jersey/uri/UriTemplateTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void testResolveUri() {
116116
assertThat(UriTemplate.resolve(baseUri, URI.create("g?y/../x")), equalTo(URI.create("http://a/b/c/g?y/../x")));
117117
assertThat(UriTemplate.resolve(baseUri, URI.create("g#s/./x")), equalTo(URI.create("http://a/b/c/g#s/./x")));
118118
assertThat(UriTemplate.resolve(baseUri, URI.create("g#s/../x")), equalTo(URI.create("http://a/b/c/g#s/../x")));
119-
// Per RFC 3986, test bellow should resolve to "http:g" for strict parsers and "http://a/b/c/g" for backward compatibility
119+
// Per RFC 3986, test below should resolve to "http:g" for strict parsers and "http://a/b/c/g" for backward compatibility
120120
assertThat(UriTemplate.resolve(baseUri, URI.create("http:g")), equalTo(URI.create("http:g")));
121121

122122
// JDK bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4708535

core-server/src/main/java/org/glassfish/jersey/server/internal/inject/BeanParamValueFactoryProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public Object provide() {
9696
return fromHk2;
9797
}
9898

99-
// bellow we make sure HK2 behaves as if injection happens into a request scoped type
99+
// below we make sure HK2 behaves as if injection happens into a request scoped type
100100
// this is to avoid having proxies injected (see JERSEY-2386)
101101
final AbstractActiveDescriptor<Object> descriptor = BuilderHelper.activeLink(rawType).in(RequestScoped.class).build();
102102
final ActiveDescriptor<?> reifiedDescriptor = locator.reifyDescriptor(descriptor);

core-server/src/test/java/org/glassfish/jersey/server/internal/inject/ProxyInjectablesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public MyCtorInjectedBean(@Context Request request) {
261261
}
262262

263263
/**
264-
* JERSEY-2386 reproducer. Bean parameter bellow must
264+
* JERSEY-2386 reproducer. Bean parameter below must
265265
* get injected directly as well as its internal field.
266266
*/
267267
@Path("/")

core-server/src/test/java/org/glassfish/jersey/server/model/SubResourceHttpMethodsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2010-2014 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -151,7 +151,7 @@ public String getFoo(@PathParam("foo") String foo) {
151151
return foo;
152152
}
153153

154-
// TODO: was bar in the @Path and @PathParam annotations bellow, shall it work?
154+
// TODO: was bar in the @Path and @PathParam annotations below, shall it work?
155155
// @Path("{bar}")
156156
@Path("{foo}")
157157
@POST

docs/src/main/docbook/async.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ System.out.println("Response received.");]]></programlisting>
433433
As with the synchronous client API, you can retrieve the response entity as a Java type directly without
434434
requesting a &lit.jaxrs.core.Response; first. In case of an &lit.jaxrs.client.InvocationCallback;, you need
435435
to set its generic type to the expected response entity type instead of using the &lit.jaxrs.core.Response;
436-
type as demonstrated in the example bellow:
436+
type as demonstrated in the example below:
437437
<example>
438438
<title>Client async callback for specific entity</title>
439439
<programlisting language="java" linenumbering="numbered"><![CDATA[final Future<String> entityFuture = target().path("http://example.com/resource/")

docs/src/main/docbook/custom-di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ holder.
100100
It is quite straight forward to get the appropriate &lit.jee6.servlet.HttpSession; instance out of the
101101
injected request instance.
102102
Let say, you want to get &lit.jee6.servlet.HttpSession; instance directly injected into your JAX-RS
103-
types like in the code snippet bellow.
103+
types like in the code snippet below.
104104

105105
<programlisting language="java">@Path("di-resource")
106106
public class MyDiResource {

docs/src/main/docbook/deployment.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ public class MyApplication extends ResourceConfig {
952952
</para>
953953

954954
<para>
955-
In the code bellow, you can find an example of a bean, that uses a managed-bean interceptor defined as a JAX-RS
955+
In the code below, you can find an example of a bean, that uses a managed-bean interceptor defined as a JAX-RS
956956
bean. The bean is used to intercept calls to the resource method <literal>getIt()</literal>:
957957

958958
<programlisting language="java" linenumbering="numbered">@ManagedBean

0 commit comments

Comments
 (0)