Skip to content

Commit 6ef288f

Browse files
izeyesnicoll
authored andcommitted
Polish samples in doc
See gh-20004
1 parent 7b0d1ea commit 6ef288f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,8 +864,8 @@ You can add an `org.apache.catalina.connector.Connector` to the `TomcatServletWe
864864
return connector;
865865
}
866866
catch (IOException ex) {
867-
throw new IllegalStateException("can't access keystore: [" + "keystore"
868-
+ "] or truststore: [" + "keystore" + "]", ex);
867+
throw new IllegalStateException("can't access keystore: [" + keystore
868+
+ "] or truststore: [" + truststore + "]", ex);
869869
}
870870
}
871871
----

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4305,7 +4305,6 @@ The following code listing shows how to inject a Cassandra bean:
43054305
43064306
private CassandraTemplate template;
43074307
4308-
@Autowired
43094308
public MyBean(CassandraTemplate template) {
43104309
this.template = template;
43114310
}

0 commit comments

Comments
 (0)