@@ -282,15 +282,15 @@ public boolean isReadOnly() {
282282 *
283283 * @return A new builder instance for creating/opening a {@link Dbi}.
284284 */
285- public DbiBuilder <T > buildDbi () {
285+ public DbiBuilder <T > createDbi () {
286286 return new DbiBuilder <>(this , proxy , readOnly );
287287 }
288288
289289 /**
290290 * Convenience method that opens a {@link Dbi} with a UTF-8 database name and default
291291 * {@link Comparator} that is not invoked from native code.
292292 * <p>
293- * For more options when opening a {@link Dbi} see {@link Env#buildDbi ()}.
293+ * For more options when opening a {@link Dbi} see {@link Env#createDbi ()}.
294294 * </p>
295295 * @param name name of the database (or null if no name is required)
296296 * @param dbiFlagSet Flags to open the database with
@@ -309,7 +309,7 @@ public Dbi<T> openDbi(final String name, final DbiFlagSet dbiFlagSet) {
309309 * Convenience method that opens a {@link Dbi} with a default
310310 * {@link Comparator} that is not invoked from native code.
311311 * <p>
312- * For more options when opening a {@link Dbi} see {@link Env#buildDbi ()}.
312+ * For more options when opening a {@link Dbi} see {@link Env#createDbi ()}.
313313 * </p>
314314 * @param name name of the database (or null if no name is required)
315315 * @param dbiFlagSet Flags to open the database with
@@ -328,7 +328,7 @@ public Dbi<T> openDbi(final byte[] name,
328328 * @param name name of the database (or null if no name is required)
329329 * @param flags to open the database with
330330 * @return a database that is ready to use
331- * @deprecated Instead use {@link Env#buildDbi ()} or {@link Env#openDbi(String, DbiFlagSet)}
331+ * @deprecated Instead use {@link Env#createDbi ()} or {@link Env#openDbi(String, DbiFlagSet)}
332332 * Convenience method that opens a {@link Dbi} with a UTF-8 database name and default {@link
333333 * Comparator} that is not invoked from native code.
334334 */
@@ -344,7 +344,7 @@ public Dbi<T> openDbi(final String name, final DbiFlags... flags) {
344344 * comparator will be used.
345345 * @param flags to open the database with
346346 * @return a database that is ready to use
347- * @deprecated Instead use {@link Env#buildDbi ()}
347+ * @deprecated Instead use {@link Env#createDbi ()}
348348 * Convenience method that opens a {@link Dbi} with a UTF-8 database name and associated {@link
349349 * Comparator} for use by {@link CursorIterable} when comparing start/stop keys.
350350 *
@@ -368,7 +368,7 @@ public Dbi<T> openDbi(final String name,
368368 * @param nativeCb whether LMDB native code calls back to the Java comparator
369369 * @param flags to open the database with
370370 * @return a database that is ready to use
371- * @deprecated Instead use {@link Env#buildDbi ()}
371+ * @deprecated Instead use {@link Env#createDbi ()}
372372 * Convenience method that opens a {@link Dbi} with a UTF-8 database name and associated {@link
373373 * Comparator}. The comparator will be used by {@link CursorIterable} when comparing start/stop
374374 * keys as a minimum. If nativeCb is {@code true}, this comparator will also be called by LMDB to
@@ -388,15 +388,15 @@ public Dbi<T> openDbi(final String name,
388388 * @param name name of the database (or null if no name is required)
389389 * @param flags to open the database with
390390 * @return a database that is ready to use
391- * @deprecated Instead use {@link Env#buildDbi ()}
391+ * @deprecated Instead use {@link Env#createDbi ()}
392392 * <hr>
393393 * Convenience method that opens a {@link Dbi} with a default {@link Comparator} that is not
394394 * invoked from native code.
395395 */
396396 @ Deprecated ()
397397 public Dbi <T > openDbi (final byte [] name ,
398398 final DbiFlags ... flags ) {
399- return buildDbi ()
399+ return createDbi ()
400400 .setDbName (name )
401401 .withDefaultComparator ()
402402 .setDbiFlags (flags )
@@ -408,7 +408,7 @@ public Dbi<T> openDbi(final byte[] name,
408408 * @param comparator custom comparator callback (or null to use LMDB default)
409409 * @param flags to open the database with
410410 * @return a database that is ready to use
411- * @deprecated Instead use {@link Env#buildDbi ()}
411+ * @deprecated Instead use {@link Env#createDbi ()}
412412 * <hr>
413413 * Convenience method that opens a {@link Dbi} with an associated {@link Comparator} that is not
414414 * invoked from native code.
@@ -418,7 +418,7 @@ public Dbi<T> openDbi(final byte[] name,
418418 final Comparator <T > comparator ,
419419 final DbiFlags ... flags ) {
420420 requireNonNull (comparator );
421- return buildDbi ()
421+ return createDbi ()
422422 .setDbName (name )
423423 .withIteratorComparator (ignored -> comparator )
424424 .setDbiFlags (flags )
@@ -431,7 +431,7 @@ public Dbi<T> openDbi(final byte[] name,
431431 * @param nativeCb whether native code calls back to the Java comparator
432432 * @param flags to open the database with
433433 * @return a database that is ready to use
434- * @deprecated Instead use {@link Env#buildDbi ()}
434+ * @deprecated Instead use {@link Env#createDbi ()}
435435 * <hr>
436436 * Convenience method that opens a {@link Dbi} with an associated {@link Comparator} that may be
437437 * invoked from native code if specified.
@@ -459,7 +459,7 @@ public Dbi<T> openDbi(
459459 * @param nativeCb whether native LMDB code should call back to the Java comparator
460460 * @param flags to open the database with
461461 * @return a database that is ready to use
462- * @deprecated Instead use {@link Env#buildDbi ()}
462+ * @deprecated Instead use {@link Env#createDbi ()}
463463 * Open the {@link Dbi} using the passed {@link Txn}.
464464 *
465465 * <p>The caller must commit the transaction after this method returns in order to retain the
0 commit comments