From cedcd2fddda12e8d90c88ee40d34801f430a1aed Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 23 Mar 2019 11:52:49 +0100 Subject: [PATCH] URL Cleanup - fix links See gh-22617 gh-22622 gh-22635 --- gradle/jdiff/README.txt | 2 +- .../quartz/MethodInvokingJobDetailFactoryBean.java | 2 +- .../cache/interceptor/CacheProxyFactoryBean.java | 7 ++++--- .../web/filter/ForwardedHeaderFilterTests.java | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gradle/jdiff/README.txt b/gradle/jdiff/README.txt index 903f9fe19d..caa85c5302 100644 --- a/gradle/jdiff/README.txt +++ b/gradle/jdiff/README.txt @@ -15,7 +15,7 @@ https://sourceforge.net/projects/javadiff To use the Ant task on your own project, see example.xml. More examples of using JDiff to compare the public APIs of J2SE1.3 and J2SE1.4 can -be seen at /VQYNZ/ +be seen at http://javadiff.sourceforge.net/ For an example with the source distribution, run "ant" and look at the HTML output in ./build/reports/example/changes.html diff --git a/spring-context-support/src/main/java/org/springframework/scheduling/quartz/MethodInvokingJobDetailFactoryBean.java b/spring-context-support/src/main/java/org/springframework/scheduling/quartz/MethodInvokingJobDetailFactoryBean.java index 1ea2d5df22..8acd05866a 100644 --- a/spring-context-support/src/main/java/org/springframework/scheduling/quartz/MethodInvokingJobDetailFactoryBean.java +++ b/spring-context-support/src/main/java/org/springframework/scheduling/quartz/MethodInvokingJobDetailFactoryBean.java @@ -123,7 +123,7 @@ public class MethodInvokingJobDetailFactoryBean extends ArgumentConvertingMethod * realized through adding the {@code @PersistJobDataAfterExecution} and * {@code @DisallowConcurrentExecution} markers. * More information on stateful versus stateless jobs can be found - * here. + * here. *

The default setting is to run jobs concurrently. */ public void setConcurrent(boolean concurrent) { diff --git a/spring-context/src/main/java/org/springframework/cache/interceptor/CacheProxyFactoryBean.java b/spring-context/src/main/java/org/springframework/cache/interceptor/CacheProxyFactoryBean.java index c9c3c8ceff..9cf0f1bb67 100644 --- a/spring-context/src/main/java/org/springframework/cache/interceptor/CacheProxyFactoryBean.java +++ b/spring-context/src/main/java/org/springframework/cache/interceptor/CacheProxyFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,8 +35,9 @@ import org.springframework.cache.CacheManager; * target implements. Exists primarily for third-party framework integration. * Users should favor the {@code cache:} XML namespace * {@link org.springframework.cache.annotation.Cacheable @Cacheable} annotation. - * See the declarative annotation-based caching section - * of the Spring reference documentation for more information. + * See the + * declarative annotation-based caching + * section of the Spring reference documentation for more information. * * @author Costin Leau * @author Juergen Hoeller diff --git a/spring-web/src/test/java/org/springframework/web/filter/ForwardedHeaderFilterTests.java b/spring-web/src/test/java/org/springframework/web/filter/ForwardedHeaderFilterTests.java index edbdb2d178..e7aeafacfd 100644 --- a/spring-web/src/test/java/org/springframework/web/filter/ForwardedHeaderFilterTests.java +++ b/spring-web/src/test/java/org/springframework/web/filter/ForwardedHeaderFilterTests.java @@ -441,7 +441,7 @@ public class ForwardedHeaderFilterTests { this.request.addHeader(X_FORWARDED_HOST, "example.com"); this.request.addHeader(X_FORWARDED_PORT, "443"); - String location = "https://weibo.com/otherinfo/foo/bar"; + String location = "http://example.org/foo/bar"; String redirectedUrl = sendRedirect(location); assertEquals(location, redirectedUrl); }