Skip to content

Commit 7b5c73d

Browse files
committed
Polish samples in doc
1 parent 199cea2 commit 7b5c73d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,8 @@ You can add an `org.apache.catalina.connector.Connector` to the `TomcatServletWe
861861
return connector;
862862
}
863863
catch (IOException ex) {
864-
throw new IllegalStateException("can't access keystore: [" + "keystore"
865-
+ "] or truststore: [" + "keystore" + "]", ex);
864+
throw new IllegalStateException("can't access keystore: [" + keystore
865+
+ "] or truststore: [" + truststore + "]", ex);
866866
}
867867
}
868868
----

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4277,7 +4277,6 @@ The following code listing shows how to inject a Cassandra bean:
42774277
42784278
private final CassandraTemplate template;
42794279
4280-
@Autowired
42814280
public MyBean(CassandraTemplate template) {
42824281
this.template = template;
42834282
}

0 commit comments

Comments
 (0)