Browse Source

URL Cleanup - fix links

See gh-22617 gh-22622 gh-22635
pull/22645/head
Sam Brannen 7 years ago
parent
commit
cedcd2fddd
  1. 2
      gradle/jdiff/README.txt
  2. 2
      spring-context-support/src/main/java/org/springframework/scheduling/quartz/MethodInvokingJobDetailFactoryBean.java
  3. 7
      spring-context/src/main/java/org/springframework/cache/interceptor/CacheProxyFactoryBean.java
  4. 2
      spring-web/src/test/java/org/springframework/web/filter/ForwardedHeaderFilterTests.java

2
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 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 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 For an example with the source distribution, run "ant" and
look at the HTML output in ./build/reports/example/changes.html look at the HTML output in ./build/reports/example/changes.html

2
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 * realized through adding the {@code @PersistJobDataAfterExecution} and
* {@code @DisallowConcurrentExecution} markers. * {@code @DisallowConcurrentExecution} markers.
* More information on stateful versus stateless jobs can be found * More information on stateful versus stateless jobs can be found
* <a href="https://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/tutorial-lesson-03">here</a>. * <a href="https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/tutorial-lesson-03.html">here</a>.
* <p>The default setting is to run jobs concurrently. * <p>The default setting is to run jobs concurrently.
*/ */
public void setConcurrent(boolean concurrent) { public void setConcurrent(boolean concurrent) {

7
spring-context/src/main/java/org/springframework/cache/interceptor/CacheProxyFactoryBean.java vendored

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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. * target implements. Exists primarily for third-party framework integration.
* <strong>Users should favor the {@code cache:} XML namespace * <strong>Users should favor the {@code cache:} XML namespace
* {@link org.springframework.cache.annotation.Cacheable @Cacheable} annotation.</strong> * {@link org.springframework.cache.annotation.Cacheable @Cacheable} annotation.</strong>
* See the <a href="https://bit.ly/p9rIvx">declarative annotation-based caching</a> section * See the
* of the Spring reference documentation for more information. * <a href="https://docs.spring.io/spring/docs/current/spring-framework-reference/integration.html#cache-annotations">declarative annotation-based caching</a>
* section of the Spring reference documentation for more information.
* *
* @author Costin Leau * @author Costin Leau
* @author Juergen Hoeller * @author Juergen Hoeller

2
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_HOST, "example.com");
this.request.addHeader(X_FORWARDED_PORT, "443"); 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); String redirectedUrl = sendRedirect(location);
assertEquals(location, redirectedUrl); assertEquals(location, redirectedUrl);
} }

Loading…
Cancel
Save