Skip to content

Commit e952e82

Browse files
Fix typo in readme code sample
1 parent e772fa6 commit e952e82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ SQLCipher for Android may also integrate with the Room API via the `SupportOpenH
7171
System.loadLibrary("sqlcipher");
7272
String password = "Password1!";
7373
File databaseFile = context.getDatabasePath("demo.db");
74-
SupportOpenHelperFactory factory = new SupportOpenHelperFactory("password.getBytes(StandardCharsets.UTF_8));
74+
SupportOpenHelperFactory factory = new SupportOpenHelperFactory(password.getBytes(StandardCharsets.UTF_8));
7575
db = Room.databaseBuilder(context, AppDatabase.class, databaseFile.getAbsolutePath())
7676
.openHelperFactory(factory).build();
7777
```

README.md.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ SQLCipher for Android may also integrate with the Room API via the `SupportOpenH
7171
System.loadLibrary("sqlcipher");
7272
String password = "Password1!";
7373
File databaseFile = context.getDatabasePath("demo.db");
74-
SupportOpenHelperFactory factory = new SupportOpenHelperFactory("password.getBytes(StandardCharsets.UTF_8));
74+
SupportOpenHelperFactory factory = new SupportOpenHelperFactory(password.getBytes(StandardCharsets.UTF_8));
7575
db = Room.databaseBuilder(context, AppDatabase.class, databaseFile.getAbsolutePath())
7676
.openHelperFactory(factory).build();
7777
```

0 commit comments

Comments
 (0)