Skip to content

Commit

Permalink
Polish samples in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and snicoll committed Feb 3, 2020
1 parent 7b0d1ea commit 6ef288f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6ef288f

Please sign in to comment.