Skip to content

Commit 8838473

Browse files
committed
Polishing.
Reorder antora keys. See #1593
1 parent 56b9090 commit 8838473

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/core/cql/CassandraAccessor.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,7 @@ protected Statement<?> applyStatementSettings(Statement<?> statement) {
384384
*
385385
* @param ex the offending {@link RuntimeException}
386386
* @return the DataAccessException, wrapping the {@code RuntimeException}
387-
* @see <a href=
388-
* "https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html#dao-exceptions">Consistent
387+
* @see <a href= "https://docs.spring.io/spring-framework/reference/data-access/dao.html#dao-exceptions">Consistent
389388
* exception hierarchy</a>
390389
* @see DataAccessException
391390
*/
@@ -410,8 +409,7 @@ protected DataAccessException translateExceptionIfPossible(RuntimeException ex)
410409
* @param ex the offending {@link RuntimeException}
411410
* @return the DataAccessException, wrapping the {@code RuntimeException}
412411
* @see org.springframework.dao.DataAccessException#getRootCause()
413-
* @see <a href=
414-
* "https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html#dao-exceptions">Consistent
412+
* @see <a href= "https://docs.spring.io/spring-framework/reference/data-access/dao.html#dao-exceptions">Consistent
415413
* exception hierarchy</a>
416414
*/
417415
protected DataAccessException translate(String task, @Nullable String cql, RuntimeException ex) {

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/core/cql/ReactiveCassandraAccessor.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ public void afterPropertiesSet() {
112112
*
113113
* @param ex the offending {@link DriverException}
114114
* @return the DataAccessException, wrapping the {@code DriverException}
115-
* @see <a href=
116-
* "https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html#dao-exceptions">Consistent
115+
* @see <a href= "https://docs.spring.io/spring-framework/reference/data-access/dao.html#dao-exceptions">Consistent
117116
* exception hierarchy</a>
118117
* @see DataAccessException
119118
*/
@@ -138,8 +137,7 @@ protected DataAccessException translateExceptionIfPossible(RuntimeException ex)
138137
* @param ex the offending {@link DriverException}
139138
* @return the DataAccessException, wrapping the {@code DriverException}
140139
* @see org.springframework.dao.DataAccessException#getRootCause()
141-
* @see <a href=
142-
* "https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html#dao-exceptions">Consistent
140+
* @see <a href= "https://docs.spring.io/spring-framework/reference/data-access/dao.html#dao-exceptions">Consistent
143141
* exception hierarchy</a>
144142
*/
145143
protected DataAccessException translate(String task, @Nullable String cql, RuntimeException ex) {

src/main/antora/modules/ROOT/pages/cassandra/configuration.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ You can do so either by using Java-based bean metadata or by using XML-based bea
66
These are discussed in the following sections.
77

88
NOTE: For those not familiar with how to configure the Spring container using Java-based bean metadata instead of XML-based metadata, see the high-level introduction in the reference docs
9-
https://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/new-in-3.0.html#new-java-configuration[here]
10-
as well as the detailed documentation {springDocsUrl}core.html#beans-java-instantiating-container[here].
9+
link:{springdocsurl}/core/beans/java.html[here]
10+
as well as the detailed documentation {springDocsUrl}/core/beans/java/instantiating-container.html[here].
1111

1212
[[cassandra.cassandra-java-config]]
1313
== Registering a Session Instance by using Java-based Metadata

src/main/antora/resources/antora-resources/antora.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@ prerelease: ${antora-component.prerelease}
33

44
asciidoc:
55
attributes:
6-
copyright-year: ${current.year}
6+
attribute-missing: 'warn'
7+
chomp: 'all'
78
version: ${project.version}
9+
copyright-year: ${current.year}
810
springversionshort: ${spring.short}
911
springversion: ${spring}
10-
attribute-missing: 'warn'
1112
commons: ${springdata.commons.docs}
1213
include-xml-namespaces: false
13-
spring-data-commons-docs-url: https://docs.spring.io/spring-data/commons/reference
14-
spring-data-commons-javadoc-base: https://docs.spring.io/spring-data/commons/docs/${springdata.commons}/api/
14+
spring-data-commons-docs-url: https://docs.spring.io/spring-data/commons/reference/{commons}
15+
spring-data-commons-javadoc-base: '{spring-data-commons-docs-url}/api/java'
1516
springdocsurl: https://docs.spring.io/spring-framework/reference/{springversionshort}
16-
springjavadocurl: https://docs.spring.io/spring-framework/docs/${spring}/javadoc-api
1717
spring-framework-docs: '{springdocsurl}'
18+
springjavadocurl: https://docs.spring.io/spring-framework/docs/${spring}/javadoc-api
1819
spring-framework-javadoc: '{springjavadocurl}'
1920
springhateoasversion: ${spring-hateoas}
2021
releasetrainversion: ${releasetrain}

0 commit comments

Comments
 (0)