Skip to content

Commit 57e33eb

Browse files
committed
javadoc
1 parent 305cab5 commit 57e33eb

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ bin
88
*~
99
*.properties
1010
*.releaseBackup
11-
*.log
11+
*.log
12+
*.tag

src/main/java/org/lmdbjava/Dbi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ public String getName() {
188188
* or after its transaction ends. It can be reused with #mdb_cursor_renew()
189189
* before finally closing it.
190190
*
191-
* @throws LmdbNativeException if a native C error occurred
192-
* @note Earlier documentation said that cursors in every transaction were
191+
* Earlier documentation said that cursors in every transaction were
193192
* closed when the transaction committed or aborted.
194193
*
195194
* @param tx transaction handle
196195
* @return cursor handle
196+
* @throws LmdbNativeException if a native C error occurred
197197
*/
198198
public Cursor openCursor(final Txn tx) throws LmdbNativeException {
199199
PointerByReference ptr = new PointerByReference();

src/main/java/org/lmdbjava/Env.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public EnvStat stat() throws NotOpenException, LmdbNativeException {
254254
* @param force force a synchronous flush (otherwise if the environment has
255255
* the MDB_NOSYNC flag set the flushes will be omitted, and with
256256
* MDB_MAPASYNC they will be asynchronous)
257-
* @throws LmdbNativeException
257+
* @throws LmdbNativeException if a native C error occurred
258258
*/
259259
public void sync(final boolean force) throws LmdbNativeException {
260260
final int f = force ? 1 : 0;

src/main/java/org/lmdbjava/MaskedFlag.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020
/**
2121
* Indicates an enum that can provide integers for each of its values,
22-
* <p>
23-
* These values can be masked together via {@link Utils#mask(java.util.Set)}.
2422
*/
2523
public interface MaskedFlag {
2624

src/main/java/org/lmdbjava/Txn.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ public static class ReadOnlyRequiredException extends LmdbException {
279279

280280
/**
281281
* Creates a new instance.
282-
* <p>
283282
*/
284283
public ReadOnlyRequiredException() {
285284
super("Not a read-only transaction");
@@ -295,7 +294,6 @@ public static class ResetException extends LmdbException {
295294

296295
/**
297296
* Creates a new instance.
298-
* <p>
299297
*/
300298
public ResetException() {
301299
super("Transaction has already been reset");

0 commit comments

Comments
 (0)