Polish samples in doc

See gh-20004
pull/20222/head
Johnny Lim 5 years ago committed by Stephane Nicoll
parent 7b0d1eaffc
commit 6ef288f45b

@ -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);
}
}
----

@ -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;
}

Loading…
Cancel
Save