Skip to content

Commit e70a3ee

Browse files
committed
Use Collections.emptyList() to avoid type warning
1 parent fc0ee71 commit e70a3ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public List<byte[]> getDbiNames() {
174174
try (Txn<T> txn = txnRead();
175175
Cursor<T> cursor = names.openCursor(txn)) {
176176
if (!cursor.first()) {
177-
return Collections.EMPTY_LIST;
177+
return Collections.emptyList();
178178
}
179179
do {
180180
final byte[] name = proxy.getBytes(cursor.key());

0 commit comments

Comments
 (0)