Commit 20e67354 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfs4: don't access constant via instance reference.

Acked-by: Paul Millar
Target: master
parent dfbb6721
/*
* Copyright (c) 2018 Deutsches Elektronen-Synchroton,
* Copyright (c) 2020 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
*
* This library is free software; you can redistribute it and/or modify
......@@ -118,7 +118,7 @@ public class BerkeleyDBClientStore implements ClientRecoveryStore {
DatabaseEntry key = new DatabaseEntry();
DatabaseEntry data = new DatabaseEntry();
while (cursor.getNext(key, data, null) == OperationStatus.KEYEMPTY.SUCCESS) {
while (cursor.getNext(key, data, null) == OperationStatus.SUCCESS) {
clientRecoveryDatabase.putNoOverwrite(tx, key, data);
cursor.delete();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment