Merge pull request #20004 from izeye

* pr/20004:
  Polish samples in doc

Closes gh-20004
This commit is contained in:
Stephane Nicoll 2020-02-03 09:44:27 +01:00
commit 03d126cbd5
2 changed files with 2 additions and 3 deletions

View File

@ -864,8 +864,8 @@ You can add an `org.apache.catalina.connector.Connector` to the `TomcatServletWe
return connector;
}
catch (IOException ex) {
throw new IllegalStateException("can't access keystore: [" + "keystore"
+ "] or truststore: [" + "keystore" + "]", ex);
throw new IllegalStateException("can't access keystore: [" + keystore
+ "] or truststore: [" + truststore + "]", ex);
}
}
----

View File

@ -4305,7 +4305,6 @@ The following code listing shows how to inject a Cassandra bean:
private CassandraTemplate template;
@Autowired
public MyBean(CassandraTemplate template) {
this.template = template;
}