@@ -66,7 +66,7 @@ public static Builder<ByteBuffer> create() {
6666 /**
6767 * Create an {@link Env} using the passed {@link BufferProxy}.
6868 *
69- * @param <T>
69+ * @param <T> buffer type
7070 * @param proxy the proxy to use (required)
7171 * @return the environment (never null)
7272 */
@@ -274,7 +274,7 @@ public Txn<T> txn(final Txn<T> parent, final TxnFlags... flags) {
274274 /**
275275 * Obtain a read-only transaction.
276276 *
277- * @return
277+ * @return a read-only transaction
278278 */
279279 public Txn <T > txnRead () {
280280 return new Txn <>(this , null , proxy , MDB_RDONLY );
@@ -283,7 +283,7 @@ public Txn<T> txnRead() {
283283 /**
284284 * Obtain a read-write transaction.
285285 *
286- * @return
286+ * @return a read-write transaction
287287 */
288288 public Txn <T > txnWrite () {
289289 return new Txn <>(this , null , proxy );
@@ -338,7 +338,7 @@ private Builder(Env<T> env) {
338338 * @param path file system destination
339339 * @param mode Unix permissions to set on created files and semaphores
340340 * @param flags the flags for this new environment
341- * @return
341+ * @return an environment ready for use
342342 */
343343 public Env <T > open (final File path , final int mode ,
344344 final EnvFlags ... flags ) {
@@ -360,7 +360,7 @@ public Env<T> open(final File path, final int mode,
360360 *
361361 * @param path file system destination
362362 * @param flags the flags for this new environment
363- * @return
363+ * @return an environment ready for use
364364 */
365365 public Env <T > open (final File path , final EnvFlags ... flags ) {
366366 return open (path , 0664 , flags );
@@ -370,7 +370,7 @@ public Env<T> open(final File path, final EnvFlags... flags) {
370370 * Sets the map size.
371371 *
372372 * @param mapSize new limit in bytes
373- * @return
373+ * @return the builder
374374 */
375375 public Builder <T > setMapSize (final long mapSize ) {
376376 if (env .open ) {
@@ -388,7 +388,7 @@ public Builder<T> setMapSize(final long mapSize) {
388388 *
389389 * @param size the size in given unit.
390390 * @param unit the unit to use for the size.
391- * @return
391+ * @return the builder
392392 */
393393 public Builder <T > setMapSize (final int size , ByteUnit unit ) {
394394 return setMapSize (unit .toBytes (size ));
@@ -398,7 +398,7 @@ public Builder<T> setMapSize(final int size, ByteUnit unit) {
398398 * Sets the maximum number of databases (ie {@link Dbi}s permitted.
399399 *
400400 * @param dbs new limit
401- * @return
401+ * @return the builder
402402 */
403403 public Builder <T > setMaxDbs (final int dbs ) {
404404 if (env .open ) {
@@ -415,7 +415,7 @@ public Builder<T> setMaxDbs(final int dbs) {
415415 * Sets the maximum number of databases permitted.
416416 *
417417 * @param readers new limit
418- * @return
418+ * @return the builder
419419 */
420420 public Builder <T > setMaxReaders (final int readers ) {
421421 if (env .open ) {
0 commit comments