Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1800dd6

Browse files
committed
Improve javadoc, format code
1 parent8eb95d0 commit1800dd6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎src/main/java/org/lmdbjava/DbiBuilder.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ public Stage3<T> addDbiFlags(final DbiFlagSet dbiFlagSet) {
302302
* Use the supplied transaction to open the {@link Dbi}.
303303
*
304304
* <p>The caller MUST commit the transaction after calling {@link Stage3#open()}, in order to
305-
* retain the <code>Dbi</code> in the <code>Env</code>.
305+
* retain the <code>Dbi</code> in the <code>Env</code>. The caller is also responsible for
306+
* closing the transaction.
306307
*
307308
* <p>If you don't call this method to supply a {@link Txn}, a {@link Txn} will be opened for
308309
* the purpose of creating and opening the {@link Dbi}, then closed. Therefore, if you already

‎src/test/java/org/lmdbjava/TargetNameTest.java‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ void customEmbedded() {
4343
voidembeddedNameResolution() {
4444
// Note: Linux resolution now detects musl vs glibc at runtime
4545
// These tests verify the resolution logic but actual toolchain depends on system
46-
finalStringlinuxToolchain =TargetName.resolveFilename(NONE,NONE,"x86_64","Linux")
47-
.contains("-musl.") ?"musl" :"gnu";
46+
finalStringlinuxToolchain =
47+
TargetName.resolveFilename(NONE,NONE,"x86_64","Linux").contains("-musl.")
48+
?"musl"
49+
:"gnu";
4850
embed("aarch64-linux-" +linuxToolchain +".so","aarch64","Linux");
4951
embed("aarch64-macos-none.so","aarch64","Mac OS");
5052
embed("x86_64-linux-" +linuxToolchain +".so","x86_64","Linux");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp