Skip to content

Commit b9eafa2

Browse files
Marcono1234scordio
andauthored
Use https:// URLs in documentation (#210)
Co-authored-by: Stefano Cordio <stefano.cordio@gmail.com>
1 parent abe33fe commit b9eafa2

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ There are a few things to keep in mind when using AssertJ to avoid misusing it.
235235
The main trap is to pass the object under test to `assertThat()` and forget to call an assertion afterward.
236236
This misuse can be detected by multiple static code analysis tools:
237237

238-
* https://spotbugs.github.io/[SpotBugs] or http://findbugs.sourceforge.net/[FindBugs] with the https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#rv-method-ignores-return-value-is-this-ok-rv-return-value-ignored-inferred[`RV_RETURN_VALUE_IGNORED_INFERRED`] rule
238+
* https://spotbugs.github.io/[SpotBugs] or https://findbugs.sourceforge.net/[FindBugs] with the https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#rv-method-ignores-return-value-is-this-ok-rv-return-value-ignored-inferred[`RV_RETURN_VALUE_IGNORED_INFERRED`] rule
239239
* https://www.sonarsource.com/products/sonarqube/[SonarQube] with the https://sonarsource.atlassian.net/browse/RSPEC-2970[`Assertions should be complete (S2970)`] rule
240240
* other tools that can evaluate whether calls to methods annotated with the `@CheckReturnValue` annotation are done correctly.
241241

src/docs/asciidoc/user-guide/assertj-db-concepts.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ It's also with a `AssertDbConnection` that you can instantiate the following ele
9393
A https://www.javadoc.io/doc/org.assertj/assertj-db/latest/org/assertj/db/type/AssertDbConnection.html[AssertDbConnection]
9494
is created with the factory https://www.javadoc.io/doc/org.assertj/assertj-db/latest/org/assertj/db/type/AssertDbConnectionFactory.html[AssertDbConnectionFactory].
9595

96-
There are 2 way to begin the AssertDbConnectionFactory, with a http://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html[DataSource] ( the classic Java way
97-
to get a http://docs.oracle.com/javase/6/docs/api/java/sql/Connection.html[Connection] to a database ) or with JDBC connection information.
96+
There are 2 way to begin the AssertDbConnectionFactory, with a https://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html[DataSource] ( the classic Java way
97+
to get a https://docs.oracle.com/javase/6/docs/api/java/sql/Connection.html[Connection] to a database ) or with JDBC connection information.
9898

9999
Below is an example of using a DataSource to connect to H2 in memory database :
100100

src/docs/asciidoc/user-guide/assertj-db-quickstart.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ testImplementation("org.assertj:assertj-db:{assertj-db-version}")
4040

4141
===== Other dependency management tool
4242

43-
Check this page to find the relevant http://search.maven.org/#artifactdetails|org.assertj|assertj-db|3.0.1|bundle[assertj db dependency declaration].
43+
Check this page to find the relevant https://search.maven.org/#artifactdetails|org.assertj|assertj-db|3.0.1|bundle[assertj db dependency declaration].
4444

4545
==== Statically import org.assertj.db.api.Assertions.assertThat
4646

src/docs/asciidoc/user-guide/assertj-guava-release-notes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[assertj-guava-release-notes]]
22
=== Release Notes
33

4-
NOTE: AssertJ Guava main documentation is still in http://joel-costigliola.github.io/assertj/assertj-guava.html until it is moved to this website.
4+
NOTE: AssertJ Guava main documentation is still in https://joel-costigliola.github.io/assertj/assertj-guava.html until it is moved to this website.
55

66
The latest release notes can be found in the {assertj-core-github}/releases[GitHub releases].
77

@@ -11,7 +11,7 @@ Older release notes:
1111
- link:#assertj-guava-3-4-0-release-notes[AssertJ Guava 3.4.0]
1212
- link:#assertj-guava-3-3-0-release-notes[AssertJ Guava 3.3.0]
1313

14-
Even older release notes can be found in the old site: http://joel-costigliola.github.io/assertj/assertj-guava.html#latest-release.
14+
Even older release notes can be found in the old site: https://joel-costigliola.github.io/assertj/assertj-guava.html#latest-release.
1515

1616
[[assertj-guava-3-5-0-release-notes]]
1717
==== AssertJ Guava 3.5.0

src/docs/asciidoc/user-guide/assertj-joda-assertions-guide.adoc

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,28 +89,28 @@ In addition to specific type assertions, each type inherits assertions from {ass
8989
|Verifies that the actual `LocalDateTime` is strictly after the given one
9090

9191
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isAfter-java.lang.String-[`isAfter(String localDateTimeAsString)`]
92-
|Calls `isAfter(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
92+
|Calls `isAfter(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
9393

9494
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isAfterOrEqualTo-org.joda.time.LocalDateTime-[`isAfterOrEqualTo(org.joda.time.LocalDateTime other)`]
9595
|Verifies that the actual `LocalDateTime` is after or equals to the given one
9696

9797
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isAfterOrEqualTo-java.lang.String-[`isAfterOrEqualTo(String localDateTimeAsString)`]
98-
|Calls `isAfterOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
98+
|Calls `isAfterOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
9999

100100
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isBefore-org.joda.time.LocalDateTime-[`isBefore(org.joda.time.LocalDateTime other)`]
101101
|Verifies that the actual `LocalDateTime` is strictly before the given one
102102

103103
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isBefore-java.lang.String-[`isBefore(String localDateTimeAsString)`]
104-
|Calls `isBefore(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
104+
|Calls `isBefore(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
105105

106106
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isBeforeOrEqualTo-org.joda.time.LocalDateTime-[`isBeforeOrEqualTo(org.joda.time.LocalDateTime other)`]
107107
|Verifies that the actual `LocalDateTime` is before or equals to the given one
108108

109109
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isBeforeOrEqualTo-java.lang.String-[`isBeforeOrEqualTo(String localDateTimeAsString)`]
110-
|Calls `isBeforeOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
110+
|Calls `isBeforeOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
111111

112112
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isEqualTo-java.lang.String-[`isEqualTo(String localDateTimeAsString)`]
113-
|Calls `AbstractAssert.isEqualTo(Object)` passing a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
113+
|Calls `AbstractAssert.isEqualTo(Object)` passing a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format].
114114

115115
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isEqualToIgnoringHours-org.joda.time.LocalDateTime-[`isEqualToIgnoringHours(org.joda.time.LocalDateTime other)`]
116116
|Verifies that actual and given `LocalDateTime` have same year, month and day fields (hour, minute, second and millisecond fields are ignored in comparison)
@@ -125,13 +125,13 @@ In addition to specific type assertions, each type inherits assertions from {ass
125125
|Verifies that actual and given `LocalDateTime` have same year, month, day, hour, minute and second fields, (millisecond fields are ignored in comparison)
126126

127127
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isIn-java.lang.String\...-[`isIn(String... localDateTimesAsString)`]
128-
|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]
128+
|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]
129129

130130
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isNotEqualTo-java.lang.String-[`isNotEqualTo(String localDateTimeAsString)`]
131-
|Calls `isNotEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]
131+
|Calls `isNotEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]
132132

133133
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/LocalDateTimeAssert.html#isNotIn-java.lang.String\...-[`isNotIn(String... dateTimesAsString)`]
134-
|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]
134+
|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]
135135

136136

137137
|===
@@ -167,31 +167,31 @@ In addition to specific type assertions, each type inherits assertions from {ass
167167
|Verifies that the actual `DateTime` is strictly after the given one
168168

169169
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isAfter-java.lang.String-[`isAfter(String dateTimeAsString)`]
170-
|Calls `isAfter(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
170+
|Calls `isAfter(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
171171

172172
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isAfterOrEqualTo-org.joda.time.DateTime-[`isAfterOrEqualTo(org.joda.time.DateTime other)`]
173173
|Verifies that the actual `DateTime` is after or equals to the given one
174174

175175
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isAfterOrEqualTo-java.lang.String-[`isAfterOrEqualTo(String dateTimeAsString)`]
176-
|Calls `isAfterOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
176+
|Calls `isAfterOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
177177

178178
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isBefore-org.joda.time.DateTime-[`isBefore(org.joda.time.DateTime other)`]
179179
|Verifies that the actual `DateTime` is strictly before the given one
180180

181181
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isBefore-java.lang.String-[`isBefore(String dateTimeAsString)`]
182-
|Calls `isBefore(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
182+
|Calls `isBefore(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
183183

184184
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isBeforeOrEqualTo-org.joda.time.DateTime-[`isBeforeOrEqualTo(org.joda.time.DateTime other)`]
185185
|Verifies that the actual `DateTime` is before or equals to the given one
186186

187187
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isBeforeOrEqualTo-java.lang.String-[`isBeforeOrEqualTo(String dateTimeAsString)`]
188-
|Calls `isBeforeOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
188+
|Calls `isBeforeOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
189189

190190
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isEqualTo-org.joda.time.DateTime-[`isEqualTo(org.joda.time.DateTime expected)`]
191191
|Verifies that the actual `DateTime` is equal to the given one in actual's DateTimeZone
192192

193193
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isEqualTo-java.lang.String-[`isEqualTo(String dateTimeAsString)`]
194-
|Calls `isEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
194+
|Calls `isEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format].
195195

196196
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isEqualToIgnoringHours-org.joda.time.DateTime-[`isEqualToIgnoringHours(org.joda.time.DateTime other)`]
197197
|Verifies that actual and given `DateTime` have same year, month and day fields (hour, minute, second and millisecond fields are ignored in comparison)
@@ -209,19 +209,19 @@ In addition to specific type assertions, each type inherits assertions from {ass
209209
|Verifies that the actual `DateTime` is equal to one of the given `DateTime` in the actual's DateTimeZone
210210

211211
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isIn-java.lang.String\...-[`isIn(String... dateTimesAsString)`]
212-
|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]
212+
|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]
213213

214214
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isNotEqualTo-org.joda.time.DateTime-[`isNotEqualTo(org.joda.time.DateTime expected)`]
215215
|Verifies that the actual value is not equal to the given one in actual's DateTimeZone
216216

217217
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isNotEqualTo-java.lang.String-[`isNotEqualTo(String dateTimeAsString)`]
218-
|Calls `isNotEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]
218+
|Calls `isNotEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]
219219

220220
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isNotIn-org.joda.time.DateTime\...-[`isNotIn(org.joda.time.DateTime... expected)`]
221221
|Verifies that the actual `DateTime` is equal to one of the given `DateTime` in the actual's DateTimeZone
222222

223223
|{assertj-joda-time-javadoc}/org/assertj/jodatime/api/DateTimeAssert.html#isNotIn-java.lang.String\...-[`isNotIn(String... dateTimesAsString)`]
224-
|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]
224+
|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]
225225

226226
|===
227227

0 commit comments

Comments
 (0)