Skip to content

Commit 2f02755

Browse files
committed
remove unnecessary config in example
1 parent a5b8145 commit 2f02755

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/src/main/java/org/neo4j/docs/driver/DriverIntroductionExample.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ public static void main(String... args) throws Exception {
102102

103103
String user = "<Username for Neo4j Aura database>";
104104
String password = "<Password for Neo4j Aura database>";
105-
106-
// Aura queries use an encrypted connection
107-
Config config = Config.builder().withEncryption().build();
108-
105+
109106
try (DriverIntroductionExample app = new DriverIntroductionExample(boltUrl, user, password, Config.defaultConfig())) {
110107
app.createFriendship("Alice", "David");
111108
app.findPerson("Alice");

0 commit comments

Comments
 (0)