Commit 6ef288f4 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Polish samples in doc

See gh-20004
parent 7b0d1eaf
...@@ -864,8 +864,8 @@ You can add an `org.apache.catalina.connector.Connector` to the `TomcatServletWe ...@@ -864,8 +864,8 @@ You can add an `org.apache.catalina.connector.Connector` to the `TomcatServletWe
return connector; return connector;
} }
catch (IOException ex) { catch (IOException ex) {
throw new IllegalStateException("can't access keystore: [" + "keystore" throw new IllegalStateException("can't access keystore: [" + keystore
+ "] or truststore: [" + "keystore" + "]", ex); + "] or truststore: [" + truststore + "]", ex);
} }
} }
---- ----
......
...@@ -4305,7 +4305,6 @@ The following code listing shows how to inject a Cassandra bean: ...@@ -4305,7 +4305,6 @@ The following code listing shows how to inject a Cassandra bean:
private CassandraTemplate template; private CassandraTemplate template;
@Autowired
public MyBean(CassandraTemplate template) { public MyBean(CassandraTemplate template) {
this.template = template; this.template = template;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment