[utilities COMMIT] /spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/HTTPResource.java
noreply at shibboleth.net
noreply at shibboleth.net
Fri Oct 10 06:08:21 EDT 2014
Author: rdw
Date: Fri Oct 10 06:08:21 2014
New Revision: 669
URL: http://svn.shibboleth.net/view/utilities?rev=669&view=rev
Log:
JSE-9 typos
Modified:
spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/HTTPResource.java
Modified: spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/HTTPResource.java
URL: http://svn.shibboleth.net/view/utilities/spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/HTTPResource.java?rev=669&r1=668&r2=669&view=diff
==============================================================================
--- spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/HTTPResource.java (original)
+++ spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/HTTPResource.java Fri Oct 10 06:08:21 2014
@@ -62,7 +62,7 @@
/** Class logger. */
private final Logger log = LoggerFactory.getLogger(HTTPResource.class);
- /** HTTP Client used to pull the metadata. */
+ /** HTTP Client used to pull the resource. */
private final HttpClient httpClient;
/** URI to the Resource. */
@@ -159,7 +159,7 @@
if (httpStatusCode != HttpStatus.SC_OK) {
String errMsg =
- "Non-ok status code " + httpStatusCode + " returned from remote metadata source " + resourceURL;
+ "Non-ok status code " + httpStatusCode + " returned from remote source " + resourceURL;
log.error(errMsg);
throw new IOException(errMsg);
}
@@ -180,7 +180,7 @@
/** {@inheritDoc} */
@Override public boolean exists() {
- log.debug("Attempting to fetch metadata for resource as '{}'", resourceURL);
+ log.debug("Attempting to fetch resource as '{}'", resourceURL);
final HttpResponse response;
try {
response = getResourceHeaders();
@@ -254,13 +254,13 @@
@Nullable protected String getResponseHeader(String what) throws IOException {
final HttpResponse response;
- log.debug("Attempting to fetch metadata for resource as '{}'", resourceURL);
+ log.debug("Attempting to fetch resource as '{}'", resourceURL);
response = getResourceHeaders();
int httpStatusCode = response.getStatusLine().getStatusCode();
if (httpStatusCode != HttpStatus.SC_OK) {
final String errMsg =
- "Non-ok status code " + httpStatusCode + " returned from remote metadata source " + resourceURL;
+ "Non-ok status code " + httpStatusCode + " returned from remote source " + resourceURL;
log.error(errMsg);
throw new IOException(errMsg);
}
More information about the commits
mailing list