From fdc63d71fe14ce1855742fc3ede478fe4817e0c4 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 15 May 2020 16:16:13 +0100 Subject: [PATCH] Use HTTPS when linking to groovy-lang.org Closes gh-21466 --- .../spring-boot-docs/src/main/asciidoc/getting-started.adoc | 2 +- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- .../spring-boot-sample-web-groovy-templates/README.adoc | 2 +- .../src/main/resources/templates/layout.tpl | 2 +- src/checkstyle/nohttp-whitelist.txt | 2 -- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc index 0c71dbfaeb9..a2ffe3b9b70 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -218,7 +218,7 @@ More details on getting started with Spring Boot and Gradle can be found in the [[getting-started-installing-the-cli]] === Installing the Spring Boot CLI The Spring Boot CLI (Command Line Interface) is a command line tool that you can use to quickly prototype with Spring. -It lets you run http://groovy-lang.org/[Groovy] scripts, which means that you have a familiar Java-like syntax without so much boilerplate code. +It lets you run https://groovy-lang.org/[Groovy] scripts, which means that you have a familiar Java-like syntax without so much boilerplate code. You do not need to use the CLI to work with Spring Boot, but it is definitely the quickest way to get a Spring application off the ground. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 44158fb8c69..9b90d7f2aaf 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -2149,7 +2149,7 @@ Also, many other templating engines include their own Spring MVC integrations. Spring Boot includes auto-configuration support for the following templating engines: * https://freemarker.apache.org/docs/[FreeMarker] - * http://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html#_the_markuptemplateengine[Groovy] + * https://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html#_the_markuptemplateengine[Groovy] * https://www.thymeleaf.org[Thymeleaf] * https://mustache.github.io/[Mustache] diff --git a/spring-boot-samples/spring-boot-sample-web-groovy-templates/README.adoc b/spring-boot-samples/spring-boot-sample-web-groovy-templates/README.adoc index da52f5c29b0..0a332d128e1 100644 --- a/spring-boot-samples/spring-boot-sample-web-groovy-templates/README.adoc +++ b/spring-boot-samples/spring-boot-sample-web-groovy-templates/README.adoc @@ -1,5 +1,5 @@ This sample application uses Spring Boot and -http://docs.groovy-lang.org/latest/html/documentation/#_the_markuptemplateengine[Groovy templates] +https://docs.groovy-lang.org/latest/html/documentation/#_the_markuptemplateengine[Groovy templates] in the View layer. The templates for this app live in `classpath:/templates/`, which is the conventional location for Spring Boot. External configuration is available via ``spring.groovy.template.*''. diff --git a/spring-boot-samples/spring-boot-sample-web-groovy-templates/src/main/resources/templates/layout.tpl b/spring-boot-samples/spring-boot-sample-web-groovy-templates/src/main/resources/templates/layout.tpl index 9e470ed9bb3..c5baf73b898 100644 --- a/spring-boot-samples/spring-boot-sample-web-groovy-templates/src/main/resources/templates/layout.tpl +++ b/spring-boot-samples/spring-boot-sample-web-groovy-templates/src/main/resources/templates/layout.tpl @@ -8,7 +8,7 @@ html { div(class:'navbar') { div(class:'navbar-inner') { a(class:'brand', - href:'http://docs.groovy-lang.org/docs/latest/html/documentation/markup-template-engine.html') { + href:'https://docs.groovy-lang.org/docs/latest/html/documentation/markup-template-engine.html') { yield 'Groovy - Layout' } ul(class:'nav') { diff --git a/src/checkstyle/nohttp-whitelist.txt b/src/checkstyle/nohttp-whitelist.txt index 28ff746dd18..d13a3583ea4 100644 --- a/src/checkstyle/nohttp-whitelist.txt +++ b/src/checkstyle/nohttp-whitelist.txt @@ -1,6 +1,4 @@ -^http://docs.groovy-lang.org.* ^http://exslt.org/common.* -^http://groovy-lang.org.* ^http://hsqldb.org.* ^http://livereload.com/.* ^http://www.jdotsoft.com.*