Skip to content

Commit f114a54

Browse files
authored
#64: Fixed typo in connection definition example. (#65)
1 parent ad52ec0 commit f114a54

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

doc/changes/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changes
22

3+
* [3.0.1](changes_3.0.1.md)
34
* [3.0.0](changes_3.0.0.md)
45
* [2.1.0](changes_2.1.0.md)
56
* [2.0.0](changes_2.0.0.md)

doc/changes/changes_3.0.1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Test Database Builder 3.0.1, released 2021-MM-DD
2+
3+
## Summary
4+
5+
## Documentation
6+
7+
* #64: Fixed typo in connection definition example in user guide

doc/user_guide/user_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ You can create a definition with only a URL or with additional credentials.
157157
Here are the two variants
158158
159159
```java
160-
final Connection connectionA = factory.createConnection("PUBLIC_CONNECTION", "https://example.org/api/v1");
161-
final Connection connectionB = factory.createConnection("PRIVILEGED_CONNECTION", "https://example.org/api/v1", "FRED", "super secret!");
160+
final ConnectionDefinition connectionA = factory.createConnectionDefinition("PUBLIC_CONNECTION", "https://example.org/api/v1");
161+
final ConnectionDefinition connectionB = factory.createConnectionDefinition("PRIVILEGED_CONNECTION", "https://example.org/api/v1", "FRED", "super secret!");
162162
```
163163

164164
As always the first parameter is the object name of the connection definition. Then there is the URL (e.g. a JDBC URL) and optionally username and password.

0 commit comments

Comments
 (0)